commons-math-interpolation
v2.2.3
Published
A partial port of the Apache Commons Math Interpolation package, including Akima cubic spline interpolation and LOESS/LOWESS local regression.
Downloads
3,511
Maintainers
Readme
commons-math-interpolation
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 dataset of x/y points (knots).
Additionally, a local regression algorithm is implemented that can be used in conjunction with the above interpolators.
Interpolation demo: www.source-code.biz/snippets/typescript/akima LOESS demo: www.source-code.biz/snippets/typescript/loess NPM package: commons-math-interpolation