NumPy

Previous topic

numpy.polynomial.polynomial.Polynomial.cutdeg

Next topic

numpy.polynomial.polynomial.Polynomial.deriv

numpy.polynomial.polynomial.Polynomial.degree

method

Polynomial.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.