bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / legendre / legpow
function
numpy.polynomial.legendre:legpow
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/legendre.py :581
Signature
def legpow ( c , pow , maxpower = 16 ) Summary
Raise a Legendre series to a power.
Extended Summary
Returns the Legendre 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 P_0 + 2*P_1 + 3*P_2.
Parameters
c: array_like1-D array of Legendre series coefficients ordered from low to high.
pow: integerPower to which the series will be raised
maxpower: integer, optionalMaximum power allowed. This is mainly to limit growth of the series to unmanageable size. Default is 16
Returns
coef: ndarrayLegendre series of power.
See also
Aliases
-
numpy.polynomial.Legendre._pow -
numpy.polynomial.legendre.legpow