Skip to content

BasicInterpolators

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

commons-math-interpolation / BasicInterpolators

BasicInterpolators

Dispatcher for the basic interpolation methods (without LOESS).

This module is separate from Index.ts so that Loess.ts can use it without creating a circular dependency.

Type Aliases

Type Alias Description
BasicInterpolationMethod The names of the basic interpolation methods (all methods except LOESS).

Functions

Function Description
createBasicInterpolator Returns an interpolating function for a dataset, using the specified basic interpolation method.
createBasicInterpolatorWithFallback Returns an interpolating function for a dataset, using the specified basic interpolation method or a simpler method if there are too few points (see getFallbackInterpolationMethod).
getFallbackInterpolationMethod Degrades an interpolation method when there are too few points for it.

Clone this wiki locally