derivative — SciPy v1.15.3 Manual (original) (raw)
scipy.interpolate.BarycentricInterpolator.
BarycentricInterpolator.derivative(x, der=1)[source]#
Evaluate a single derivative of the polynomial at the point x.
Parameters:
xarray_like
Point or points at which to evaluate the derivatives
derinteger, optional
Which derivative to evaluate (default: first derivative). This number includes the function value as 0th derivative.
Returns:
dndarray
Derivative interpolated at the x-points. Shape of d is determined by replacing the interpolation axis in the original array with the shape of x.