ndsplines.NDSpline.derivative

NDSpline.derivative(dim, nu=1)

Return NDSpline representing the nu-th derivative in the dim-th dimension.

Parameters:
  • dim (int) – Dimension in which to take the derivative. 0-indexed, so must be >= 0 and < self.xdim.

  • nu (int, optional) – Derivative order, default is 1.

Returns:

b – A new instance representing the derivative.

Return type:

NDSpline object