CubicInterpolant
Fast and simple cubic spline interpolant.
It was derived from a Hermitian construction setting the first derivative at each sample position to the linear slope between neighboring positions over their parameter interval.
Parameters
The parameter positions holding the interpolation factors.
The sample values.
The sample size (a.k.a. the value size / stride).
The result buffer; defaults to a fresh DoubleArray(sampleSize).
Constructors
Properties
The default settings object. Overridden by CubicInterpolant.
The parameter positions.
The result buffer. Reused across calls; overwritten by every evaluate.
The sample values.
The interpolation settings. null until assigned; getSettings_ then falls back to DefaultSettings_.
Functions
Copies a sample value to the result buffer.
Evaluates the interpolant at position t.
Returns the interpolation settings.