numpy.polynomial.legendre.leg2poly()

numpy.polynomial.legendre.leg2poly

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

Convert a Legendre series to a polynomial.

Convert an array representing the coefficients of a Legendre series, ordered from lowest degree to highest, to an array of the coefficients of the equivalent polynomial (relative to the “standard” basis) ordered from lowest to highest degree.

Parameters:

c : array_like

1-D array contai