Expand description
Natural cubic spline interpolation (the tridiagonal system for the second derivatives is solved with the Thomas algorithm) and piecewise-linear interpolation.
Structs§
- Cubic
Spline - A natural cubic spline: second derivatives zero at both ends.
Functions§
- linear_
interp - Piecewise-linear interpolation of
(xs, ys)(xs strictly increasing) atx. Clamps to the endpoints outside the range.