This package is a partial TypeScript port of some Java classes of the Apache Commons Math library.
The following forms of interpolation are implemented:
- Akima cubic spline interpolation
- Natural cubic spline interpolation
- Linear interpolation
- Nearest neighbor interpolation
The interpolators work on a data set of x/y points (knots).
Visual demo of the Akima interpolation: http://www.source-code.biz/snippets/typescript/akima
NPM package: commons-math-interpolation