1-D spline class (PyTorch)¶
- class cubicmultispline.TorchSpline1D(interval, yv, boundary_condition_type=('not-a-knot', 'not-a-knot'), boundary_condition_value=(0.0, 0.0))¶
One-dimensional cubic spline interpolation using B-spline basis functions (PyTorch backend).
Drop-in replacement for Spline1D that operates on torch.Tensor inputs and keeps all internal data on the same device/dtype as the input.