scipy.interpolate.PiecewisePolynomial.derivative

PiecewisePolynomial.derivative(x, der)[source]

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.

Previous topic

scipy.interpolate.PiecewisePolynomial.append

Next topic

scipy.interpolate.PiecewisePolynomial.derivatives