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

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

Functions

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

Properties

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

Sources

common source
Link copied to clipboard