numpy.polynomial.hermite_e.HermiteE.trim

method

HermiteE.trim(self, tol=0) [source]

Remove trailing coefficients

Remove trailing coefficients until a coefficient is reached whose absolute value greater than tol or the beginning of the series is reached. If all the coefficients would be removed the series is set to [0]. A new series instance is returned with the new coefficients. The current instance remains unchanged.

Parameters
tolnon-negative number.

All trailing coefficients less than tol will be removed.

Returns
new_seriesseries

Contains the new set of coefficients.

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.polynomial.hermite_e.HermiteE.trim.html