Skip to content

BasicInterpolators.TypeAlias.BasicInterpolationMethod

Christian d'Heureuse edited this page Sep 25, 2026 · 1 revision

commons-math-interpolation / BasicInterpolators / BasicInterpolationMethod

Type Alias: BasicInterpolationMethod

type BasicInterpolationMethod = "akima" | "cubic" | "linear" | "nearestNeighbor";

Defined in: BasicInterpolators.ts:23

The names of the basic interpolation methods (all methods except LOESS).

  • "akima": Akima cubic spline interpolation, requires at least 5 points.
  • "cubic": Natural cubic spline interpolation, requires at least 3 points.
  • "linear": Linear interpolation, requires at least 2 points.
  • "nearestNeighbor": Nearest neighbor interpolation, also accepts 0 or 1 points.

Clone this wiki locally