scipy.interpolate.NdBSpline.

derivative#

NdBSpline.derivative(nu)[source]#

Construct a new NdBSpline representing the partial derivative.

Parameters:
nuarray_like of shape (ndim,)

Orders of the partial derivatives to compute along each dimension.

Returns:
NdBSpline

A new NdBSpline representing the partial derivative of the original spline.