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) 284 B
import { UniFunction } from "./Utils.ts"; export declare function createCubicSplineInterpolator(xVals: ArrayLike<number>, yVals: ArrayLike<number>): UniFunction; export declare function computeCubicPolyCoefficients(xVals: ArrayLike<number>, yVals: ArrayLike<number>): Float64Array[];