InterpolatingSpline
Create an interpolating spline from canonical solved state.
Declaration
self = InterpolatingSpline(options)
Parameters
options.Sspline degree scalar or vector with one entry per dimensionoptions.knotAxesordered knot-axis objects defining the spline basisoptions.xiinterpolating coefficient vector or arrayoptions.gridAxesordered interpolation-grid axis objectsoptions.xMeanoptional additive output offsetoptions.xStdoptional multiplicative output scale
Returns
selfInterpolatingSpline instance
Discussion
Use this low-level constructor when you already have the interpolation knot axes, coefficient state, and grid axes. For ordinary interpolation from gridded samples, use InterpolatingSpline.fromGriddedValues(...).
spline = InterpolatingSpline( ...
S=[3 3], ...
knotAxes=SplineAxis.arrayFromVectors(knotPoints), ...
xi=xi, ...
gridAxes=SplineAxis.arrayFromVectors({x, y}));