Previous topic

numpy.polynomial.legendre.Legendre.cutdeg

Next topic

numpy.polynomial.legendre.Legendre.deriv

This is documentation for an old release of NumPy (version 1.15). Read this page in the documentation of the latest stable release (version 2.2).

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.