You are viewing an older version (2.4.3). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / polynomial / legendre / legpow

function

numpy.polynomial.legendre:legpow

source: /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_like

1-D array of Legendre 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

Legendre series of power.

See also

legadd
legdiv
legmul
legmulx
legsub

Aliases

  • numpy.polynomial.Legendre._pow
  • numpy.polynomial.legendre.legpow