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: <Error class: unknown class><Double>,     yTable: <Error class: unknown class><Double>,     yStride: Double,     inputOrder: Int,     outputOrder: Int,     result: <Error class: unknown class><Double>? = definedExternally): <Error class: unknown class><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: <Error class: unknown class><Double>,     yTable: <Error class: unknown class><Double>,     yStride: Double,     result: <Error class: unknown class><Double>? = definedExternally): <Error class: unknown class><Double>

Performs zero order interpolation.