method
Polynomial.cutdeg(self, deg) [source]
Truncate series to the given degree.
Reduce the degree of the series to deg by discarding the high order terms. If deg is greater than the current degree a copy of the current series is returned. This can be useful in least squares where the coefficients of the high degree terms may be very small.
New in version 1.5.0.
| Parameters: |
|
|---|---|
| Returns: |
|
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.polynomial.polynomial.Polynomial.cutdeg.html