NumPy

Previous topic

numpy.polynomial.legendre.Legendre.cutdeg

Next topic

numpy.polynomial.legendre.Legendre.deriv

numpy.polynomial.legendre.Legendre.degree

method

Legendre.degree(self)[source]

The degree of the series.

New in version 1.5.0.

Returns
degreeint

Degree of the series, one less than the number of coefficients.