bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / chebyshev / cheb2poly
function
numpy.polynomial.chebyshev:cheb2poly
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/chebyshev.py :395
Signature
def cheb2poly ( c ) Summary
Convert a Chebyshev series to a polynomial.
Extended Summary
Convert an array representing the coefficients of a Chebyshev series, ordered from lowest degree to highest, to an array of the coefficients of the equivalent polynomial (relative to the "standard" basis) ordered from lowest to highest degree.
Parameters
c: array_like1-D array containing the Chebyshev series coefficients, ordered from lowest order term to highest.
Returns
pol: ndarray1-D array containing the coefficients of the equivalent polynomial (relative to the "standard" basis) ordered from lowest order term to highest.
Notes
The easy way to do conversions between polynomial basis sets is to use the convert method of a class instance.
Examples
from numpy import polynomial as P c = P.Chebyshev(range(4)) c p = c.convert(kind=P.Polynomial) p✓
P.chebyshev.cheb2poly(range(4))
✗See also
Aliases
-
numpy.polynomial.chebyshev.cheb2poly