numpy.polynomial.polynomial.Polynomial.degree
method
- polynomial.polynomial.Polynomial.degree()
The degree of the series.
- Returns:
- degree : int
Degree of the series, one less than the number of coefficients.
Examples
Create a polynomial object for
1 + 7*x: