SplineInterpolator

class SplineInterpolator<T : Comparable<T>>(val algebra: Field<T>, val bufferFactory: MutableBufferFactory<T>) : PolynomialInterpolator<T> (source)

Generic spline interpolator. Not recommended for performance critical places, use platform-specific and type specific ones.

Based on https://github.com/apache/commons-math/blob/eb57d6d457002a0bb5336d789a3381a24599affe/src/main/java/org/apache/commons/math4/analysis/interpolation/SplineInterpolator.java

Constructors

Link copied to clipboard
constructor(algebra: Field<T>, bufferFactory: MutableBufferFactory<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
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolate(data: Map<T, T>): (T) -> T?
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolate(data: List<Pair<T, T>>, defaultValue: T): (T) -> T
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolate(data: Map<T, T>, defaultValue: T): (T) -> T
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolate(x: Buffer<T>, y: Buffer<T>, defaultValue: T): (T) -> T
Link copied to clipboard

Properties

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