LinearInterpolator

class LinearInterpolator<T : Comparable<T>>(algebra: Field<T>) : PolynomialInterpolator<T>

Reference JVM implementation: https://github.com/apache/commons-math/blob/master/src/main/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolator.java

Constructors

Link copied to clipboard
fun <T : Comparable<T>> LinearInterpolator(algebra: Field<T>)

Functions

Link copied to clipboard
open fun getDefaultValue(): T
Link copied to clipboard
open override fun interpolate(points: XYColumnarData<T, T, T>): (T) -> T
Link copied to clipboard
open override fun interpolatePolynomials(points: XYColumnarData<T, T, T>): PiecewisePolynomial<T>

Properties

Link copied to clipboard
open override val algebra: Field<T>

Sources

Link copied to clipboard