numpy.polynomial.laguerre.lagtrim()

numpy.polynomial.laguerre.lagtrim

numpy.polynomial.laguerre.lagtrim(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: 登录查看完整内容