This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _polyint / BarycentricInterpolator / derivative

function

scipy.interpolate._polyint:BarycentricInterpolator.derivative

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_polyint.py:886

Signature

def derivative(self, x, der = 1)

Summary

Evaluate a single derivative of the polynomial at the point x.

Parameters

x : array_like

Point or points at which to evaluate the derivatives

der : int, optional

Which derivative to evaluate (default: first derivative). This number includes the function value as 0th derivative.

Returns

d : ndarray

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.

Aliases

  • scipy.interpolate.BarycentricInterpolator.derivative