This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.interpolate.BPoly.derivative¶
-
BPoly.
derivative
(self, nu=1)[source]¶ Construct a new piecewise polynomial representing the derivative.
- Parameters
- nuint, optional
Order of derivative to evaluate. Default is 1, i.e., compute the first derivative. If negative, the antiderivative is returned.
- Returns
- bpBPoly
Piecewise polynomial of order k - nu representing the derivative of this polynomial.