bundles / scipy latest / scipy / interpolate / _polyint / _Interpolator1DWithDerivatives / derivative
function
scipy.interpolate._polyint:_Interpolator1DWithDerivatives.derivative
Signature
def derivative ( self , x , der = 1 ) Summary
Evaluate a single derivative of the polynomial at the point x.
Parameters
x: array_likePoint or points at which to evaluate the derivatives
der: integer, optionalWhich derivative to evaluate (default: first derivative). This number includes the function value as 0th derivative.
Returns
d: ndarrayDerivative interpolated at the x-points. Shape of d is determined by replacing the interpolation axis in the original array with the shape of
x.
Notes
This may be computed by evaluating all derivatives up to the desired one (using self.derivatives()) and then discarding the rest.
Aliases
-
scipy.interpolate._polyint._Interpolator1DWithDerivatives.derivative