/commons-math-interpolation

A partial TypeScript port of the Apache Commons Math Interpolation package, including Akima cubic spline interpolation and LOESS/LOWESS local regression.

Primary LanguageTypeScriptMIT LicenseMIT

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:

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