Previous topic

numpy.polynomial.chebyshev.chebdiv

Next topic

numpy.polynomial.chebyshev.chebgauss

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

numpy.polynomial.chebyshev.chebpow

numpy.polynomial.chebyshev.chebpow(c, pow, maxpower=16)[source]

Raise a Chebyshev series to a power.

Returns the Chebyshev series c raised to the power pow. The argument c is a sequence of coefficients ordered from low to high. i.e., [1,2,3] is the series T_0 + 2*T_1 + 3*T_2.

Parameters:
c : array_like

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

pow : integer

Power to which the series will be raised

maxpower : integer, optional

Maximum power allowed. This is mainly to limit growth of the series to unmanageable size. Default is 16

Returns:
coef : ndarray

Chebyshev series of power.