This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / chebyshev / chebpow

function

numpy.polynomial.chebyshev:chebpow

source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/chebyshev.py :814

Signature

def   chebpow ( c pow maxpower = 16 )

Summary

Raise a Chebyshev series to a power.

Extended Summary

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.

Examples

from numpy.polynomial import chebyshev as C
C.chebpow([1, 2, 3, 4], 2)

See also

chebadd
chebdiv
chebmul
chebmulx
chebsub

Aliases

  • numpy.polynomial.Chebyshev._pow
  • numpy.polynomial.chebyshev.chebpow