numpy.polynomial.hermite.hermtrim(c, tol=0) [source]
Remove ?small? ?trailing? coefficients from a polynomial. ?Small? means ?small in absolute value? and is controlled by the parameter tol; ?trailing? means highest order coefficient(s), e.g., in [0, 1, 1, 0, 0] (which represents 0 + x + x**2 + 0*x**3 + 0*x**4) both the 3-rd and 4-th order coefficients would be ?trimmed.? Parameters:
c : array_like 1-d array of coefficients, ordered from lowest order to highest. tol : number, optional T