scipy.interpolate.PiecewisePolynomial.derivative

PiecewisePolynomial.derivative(x, der)

Evaluate a derivative of the piecewise polynomial

Parameters :

x : scalar or array-like of length N

der : integer

which single derivative to extract

Returns :

y : scalar or array-like of length R or length N or N by R

Notes

This currently computes (using self.derivatives()) all derivatives of the curve segment containing each x but returns only one.

This Page