PolynomialInterpolator

interface PolynomialInterpolator<T : Comparable<T>> : Interpolator<T, T, T>

And interpolator returning PiecewisePolynomial function

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
abstract fun interpolatePolynomials(points: XYColumnarData<T, T, T>): PiecewisePolynomial<T>

Properties

algebra
Link copied to clipboard
abstract val algebra: Ring<T>

Inheritors

LinearInterpolator
Link copied to clipboard
SplineInterpolator
Link copied to clipboard

Extensions

interpolatePolynomials
Link copied to clipboard
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolatePolynomials(data: Map<T, T>): PiecewisePolynomial<T>
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolatePolynomials(data: List<Pair<T, T>>): PiecewisePolynomial<T>

Sources

common source
Link copied to clipboard