bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / laguerre / lagcompanion
function
numpy.polynomial.laguerre:lagcompanion
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/laguerre.py :1421
Signature
def lagcompanion ( c ) Summary
Return the companion matrix of c.
Extended Summary
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_like1-D array of Laguerre series coefficients ordered from low to high degree.
Returns
mat: ndarrayCompanion matrix of dimensions (deg, deg).
Examples
from numpy.polynomial.laguerre import lagcompanion
✓lagcompanion([1, 2, 3])
✗Aliases
-
numpy.polynomial.laguerre.lagcompanion