SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.interpolate.BPoly.antiderivative

BPoly.antiderivative(nu=1)[source]

Construct a new piecewise polynomial representing the antiderivative.

Parameters:

nu : int, optional

Order of derivative to evaluate. (Default: 1) If negative, the derivative is returned.

Returns:

bp : BPoly

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