numpy.polynomial.legendre.Legendre()

numpy.polynomial.legendre.Legendre

class numpy.polynomial.legendre.Legendre(coef, domain=None, window=None) [source]

A Legendre series class.

The Legendre class provides the standard Python numerical methods ‘+’, ‘-‘, ‘*’, ‘//’, ‘%’, ‘divmod’, ‘**’, and ‘()’ as well as the attributes and methods listed in the ABCPolyBase documentation.

Parameters:

coef : array_like

Legendre coefficients in order