SciPy

This is documentation for an old release of NumPy (version 1.8.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.polynomial.legendre.legmulx

numpy.polynomial.legendre.legmulx(c)[source]

Multiply a Legendre series by x.

Multiply the Legendre series c by x, where x is the independent variable.

Parameters :

c : array_like

1-D array of Legendre series coefficients ordered from low to high.

Returns :

out : ndarray

Array representing the result of the multiplication.

Notes

The multiplication uses the recursion relationship for Legendre polynomials in the form

xP_i(x) = ((i + 1)*P_{i + 1}(x) + i*P_{i - 1}(x))/(2i + 1)