LinearApproximation
An InterpolationAlgorithm for performing linear interpolation.
See also
Functions
Link copied to clipboard
Given the desired degree, returns the number of data points required for interpolation. Since linear interpolation can only generate a first degree polynomial, this function always returns 2.
Link copied to clipboard
fun interpolateOrderZero(x: Double, xTable: ReadonlyArray<Double>, yTable: ReadonlyArray<Double>, yStride: Double, result: ReadonlyArray<Double>? = definedExternally): ReadonlyArray<Double>
Interpolates values using linear approximation.