n-D spline class (PyTorch)

class cubicmultispline.TorchSpline(interval, yv, boundary_condition_type=None, boundary_condition_value=None)

Multidimensional cubic spline interpolation using tensor product B-splines (PyTorch backend).

Drop-in replacement for Spline that operates on torch.Tensor inputs and keeps all internal data on the same device/dtype as the input.