ndsplines.NDSpline.antiderivative

NDSpline.antiderivative(dim, nu=1)

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

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

  • nu (int, optional) – Antiderivative order. Default is 1.

Returns:

b – A new instance representing the antiderivative.

Return type:

NDSpline object