LagrangePolynomialApproximation

An InterpolationAlgorithm for performing Lagrange interpolation.

See also

Properties

Link copied to clipboard

Gets the name of this interpolation algorithm.

Functions

Link copied to clipboard

Given the desired degree, returns the number of data points required for interpolation.

Link copied to clipboard
fun interpolateOrderZero(x: Double, xTable: ReadonlyArray<JsDouble>, yTable: ReadonlyArray<JsDouble>, yStride: Double, result: ReadonlyArray<JsDouble>? = definedExternally): ReadonlyArray<JsDouble>

Interpolates values using Lagrange Polynomial Approximation.