NumPy

Previous topic

numpy.polynomial.laguerre.lagweight

Next topic

numpy.polynomial.laguerre.lagfit

This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).

numpy.polynomial.laguerre.lagcompanion

numpy.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
carray_like

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

Returns
matndarray

Companion matrix of dimensions (deg, deg).

Notes

New in version 1.7.0.