SplineInterpolator

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

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

SplineInterpolator
Link copied to clipboard
fun <T : Comparable<T>> SplineInterpolator(algebra: Field<T>, bufferFactory: MutableBufferFactory<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>
bufferFactory
Link copied to clipboard
val bufferFactory: MutableBufferFactory<T>