numpy.polynomial.polynomial.polypow

numpy.polynomial.polynomial.polypow(cs, pow, maxpower=None)

Raise a polynomial to a power.

Returns the polynomial cs raised to the power pow. The argument cs is a sequence of coefficients ordered from low to high. i.e., [1,2,3] is the series 1 + 2*x + 3*x**2.

Parameters :

cs : array_like

1d 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 umanageable size. Default is 16

Returns :

coef : ndarray

Chebyshev series of power.

See also

chebadd, chebsub, chebmul, chebdiv

Previous topic

numpy.polynomial.polynomial.polydiv

Next topic

numpy.polynomial.polynomial.polycompanion

This Page