Companion

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 interpolate(x: Double, xTable: ReadonlyArray<Double>, yTable: ReadonlyArray<Double>, yStride: Double, inputOrder: Int, outputOrder: Int, result: ReadonlyArray<Double>? = definedExternally): ReadonlyArray<Double>

Performs higher order interpolation. Not all interpolators need to support high-order interpolation, if this function remains undefined on implementing objects, interpolateOrderZero will be used instead.

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

Performs zero order interpolation.