numpy.polynomial.legendre.legpow
-
polynomial.legendre.legpow(c, pow, maxpower=16)
[source] -
Raise a Legendre series to a power.
Returns the Legendre series
c
raised to the powerpow
. The argumentc
is a sequence of coefficients ordered from low to high. i.e., [1,2,3] is the seriesP_0 + 2*P_1 + 3*P_2.
- Parameters
-
-
carray_like
-
1-D array of Legendre series coefficients ordered from low to high.
-
powinteger
-
Power to which the series will be raised
-
maxpowerinteger, optional
-
Maximum power allowed. This is mainly to limit growth of the series to unmanageable size. Default is 16
-
- Returns
-
-
coefndarray
-
Legendre series of power.
-
See also
-
legadd, legsub, legmulx, legmul,
legdiv
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.polynomial.legendre.legpow.html