interpolation library

Classes

Len3
Second difference interpolation from a table of 3 equidistant values.
Len5
Fourth difference interpolation from a table of 5 equidistant values.

Functions

lagrange(double x, List<({double x, double y})> table) double
Lagrange interpolation for unequally-spaced data.
lagrangePoly(List<({double x, double y})> table) List<double>
Returns interpolating polynomial coefficients using Lagrange's formula.
len4Half(List<double> y) double
Interpolates a center value from a table of four rows.