ndsplines.NDSpline.__call__

NDSpline.__call__(x, nus=0)

Evaluate the N-dimensional B-spline.

Parameters:
  • x (ndarray, shape=(..., self.xdim) dtype=np.float_) – Points at which to evaluate the spline.

  • nus (ndarray, broadcastable to shape=(self.xdim,) dtype=np.int_) – Order of derivatives for each dimension to evaluate. Optional, default is 0.

Returns:

y – Value of N-dimensional B-spline at x.

Return type:

ndarray, shape=(…, self.yshape) dtype=np.float_