Multiply a Legendre series by x.
Multiply the Legendre series c by x, where x is the independent variable.
1-D array of Legendre series coefficients ordered from low to high.
Array representing the result of the multiplication.
The multiplication uses the recursion relationship for Legendre polynomials in the form
>>> from numpy.polynomial import legendre as L >>> L.legmulx([1,2,3]) array([ 0.66666667, 2.2, 1.33333333, 1.8]) # may vary
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.polynomial.legendre.legmulx.html