numpy.polynomial.polynomial.polyint()
numpy.polynomial.polynomial.polyint
-
numpy.polynomial.polynomial.polyint(c, m=1, k=[], lbnd=0, scl=1, axis=0)
[source] -
Integrate a polynomial.
Returns the polynomial coefficients
c
integratedm
times fromlbnd
alongaxis
. At each iteration the resulting series is multiplied byscl
and an integration constant,k
, is added. The scaling factor is for use in a linear change of variable. (“Buyer beware”: note that, depending on what one is doing, one may wantscl
to be the reciprocal of what one might expect; for more information, see the