numpy / 1.13.0 / generated / numpy.polynomial.legendre.legendre.degree.html /

numpy.polynomial.legendre.Legendre.degree

Legendre.degree() [source]

The degree of the series.

New in version 1.5.0.

Returns:

degree : int

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