numpy.polynomial.legendre.legmulx

numpy.polynomial.legendre.legmulx(cs)

Multiply a Legendre series by x.

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

Parameters :

cs : 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)

Previous topic

numpy.polynomial.legendre.legmul

Next topic

numpy.polynomial.legendre.legdiv

This Page