LinearInterpolator
class LinearInterpolator<T : Comparable<T>>(val algebra: Field<T>) : PolynomialInterpolator<T> (source)
Reference JVM implementation: https://github.com/apache/commons-math/blob/master/src/main/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolator.java
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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>): (T) -> T?
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolate(x: Buffer<T>, y: Buffer<T>, defaultValue: T): (T) -> T
Link copied to clipboard
Link copied to clipboard
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolatePolynomials(data: List<Pair<T, T>>): PiecewisePolynomial<T>
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolatePolynomials(data: Map<T, T>): PiecewisePolynomial<T>
fun <T : Comparable<T>> PolynomialInterpolator<T>.interpolatePolynomials(x: Buffer<T>, y: Buffer<T>): PiecewisePolynomial<T>