This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _interpolate / NdPPoly / antiderivative

function

scipy.interpolate._interpolate:NdPPoly.antiderivative

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_interpolate.py:2685

Signature

def antiderivative(self, nu)

Summary

Construct a new piecewise polynomial representing the antiderivative.

Extended Summary

Antiderivative is also the indefinite integral of the function, and derivative is its inverse operation.

Parameters

nu : ndim-tuple of int

Order of derivatives to evaluate for each dimension. If negative, the derivative is returned.

Returns

pp : PPoly

Piecewise polynomial of order k2 = k + n representing the antiderivative of this polynomial.

Notes

The antiderivative returned by this function is continuous and continuously differentiable to order n-1, up to floating point rounding error.

Aliases

  • scipy.interpolate.NdPPoly.antiderivative