numpy / 1.22.0 / reference / generated / numpy.polynomial.laguerre.lagcompanion.html /

numpy.polynomial.laguerre.lagcompanion

polynomial.laguerre. lagcompanion ( c ) [source]

Return the companion matrix of c.

The usual companion matrix of the Laguerre polynomials is already symmetric when c is a basis Laguerre polynomial, so no scaling is applied.

Parameters
c array_like

1-D array of Laguerre series coefficients ordered from low to high degree.

Returns
mat ndarray

Companion matrix of dimensions (deg, deg).

Notes

New in version 1.7.0.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.polynomial.laguerre.lagcompanion.html