scipy.interpolate.KroghInterpolator.derivative

KroghInterpolator.derivative(x, der)

Evaluate one derivative of the polynomial at the point x

Parameters :

x : scalar or array_like of length N

Point or points at which to evaluate the derivatives

der : None or integer

Which derivative to extract. This number includes the function value as 0th derivative.

Returns :

d : ndarray

If the interpolator’s values are R-dimensional then the returned array will be N by R. If x is a scalar, the middle dimension will be dropped; if R is 1 then the last dimension will be dropped.

Notes

This is computed by evaluating all derivatives up to the desired one (using self.derivatives()) and then discarding the rest.

Previous topic

scipy.interpolate.KroghInterpolator.__call__

Next topic

scipy.interpolate.KroghInterpolator.derivatives

This Page