-
numpy.polynomial.chebyshev.chebcompanion(c)[source] -
Return the scaled companion matrix of c.
The basis polynomials are scaled so that the companion matrix is symmetric when
cis a Chebyshev basis polynomial. This provides better eigenvalue estimates than the unscaled case and for basis polynomials the eigenvalues are guaranteed to be real ifnumpy.linalg.eigvalshis used to obtain them.Parameters: c : array_like
1-D array of Chebyshev series coefficients ordered from low to high degree.
Returns: mat : ndarray
Scaled companion matrix of dimensions (deg, deg).
Notes
numpy.polynomial.chebyshev.chebcompanion()
2025-01-10 15:47:30
Please login to continue.