SciPy

numpy.polynomial.polynomial.Polynomial.integ

Polynomial.integ(m=1, k=[], lbnd=None)

Integrate.

Return an instance of Polynomial that is the definite integral of the current series. Refer to polyint for full documentation.

Parameters :

m : non-negative int

The number of integrations to perform.

k : array_like

Integration constants. The first constant is applied to the first integration, the second to the second, and so on. The list of values must less than or equal to m in length and any missing values are set to zero.

lbnd : Scalar

The lower bound of the definite integral.

Returns :

integral : Polynomial

The integral of the series using the same domain.

See also

polyint
similar function.
polyder
similar function for derivative.