UNPKG

commons-math-interpolation

Version:

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

4 lines (3 loc) 287 B
import { UniFunction } from "./Utils.js"; export declare function createAkimaSplineInterpolator(xVals: ArrayLike<number>, yVals: ArrayLike<number>): UniFunction; export declare function computeAkimaPolyCoefficients(xVals: ArrayLike<number>, yVals: ArrayLike<number>): Float64Array[];