The OpenD Programming Language

mir.interpolate

Interpolation Algorithms

$(TR $(TDNW $(MREF mir,interpolate,constant)) $(TD Constant Interpolant)) $(TR $(TDNW $(MREF mir,interpolate,generic)) $(TD Generic Piecewise Interpolant)) $(TR $(TDNW $(MREF mir,interpolate,linear)) $(TD Linear Interpolant)) $(TR $(TDNW $(MREF mir,interpolate,polynomial)) $(TD Lagrange Barycentric Interpolant)) $(TR $(TDNW $(MREF mir,interpolate,spline)) $(TD Piecewise Cubic Hermite Interpolant Spline: C2 (with contiguous second derivative), cardinal, monotone (aka PCHIP), double-quadratic, Akima))

Interpolation modules

ModuleInterpolation kind

]

Modules

constant
module mir.interpolate.constant
Constant Interpolation
extrapolate
module mir.interpolate.extrapolate
Extrapolators
generic
module mir.interpolate.generic
Generic Piecewise Interpolant
linear
module mir.interpolate.linear
Linear Interpolation
mod
module mir.interpolate.mod
Interpolation Modifier
polynomial
module mir.interpolate.polynomial
Lagrange Barycentric Interpolation
spline
module mir.interpolate.spline
Cubic Spline Interpolation
utility
module mir.interpolate.utility
Undocumented in source.

Members

Functions

atInterval
Tuple!(T, size_t) atInterval(T value, size_t intervalIndex)

Optimization utility that can be used with interpolants if x should be extrapolated at interval given.

interp1
auto interp1(Range range, Interpolant interpolant, size_t interval)
Interp1
struct Interp1(Range, Interpolant)

Lazy interpolation shell with linear complexity.

Structs

Templates

findInterval
template findInterval(size_t dimension = 0)

Interval index for x value given.

Meta

Authors

Ilia Ki