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
generic
module mir.interpolate.generic
Generic Piecewise Interpolant
linear
module mir.interpolate.linear
Linear Interpolation
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

Aliases

GridVector
alias GridVector(It) = Slice!It
Undocumented in source.

Functions

atInterval
RefTuple!(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.

copyvec
auto copyvec(F[N] from, F[N] to)
Undocumented in source. Be warned that the author may not have intended to support it.
interp1
auto interp1(Range range, Interpolant interpolant, size_t interval)

Lazy interpolation shell with linear complexity.

iter
ref iter()
Undocumented in source. Be warned that the author may not have intended to support it.
shuffle1
void shuffle1(F[N] a, F[N] b, F[N] c, F[N] d)
Undocumented in source. Be warned that the author may not have intended to support it.
shuffle2
void shuffle2(F[N] a, F[N] b, F[N] c, F[N] d)
Undocumented in source. Be warned that the author may not have intended to support it.
shuffle3
void shuffle3(F[N] a, F[N] b, F[N] c, F[N] d)
Undocumented in source. Be warned that the author may not have intended to support it.
vectorize
auto vectorize(Kernel kernel, F[N] a0, F[N] b0, F[N] a1, F[N] b1, F[N][R] c)
Undocumented in source. Be warned that the author may not have intended to support it.
vectorize
auto vectorize(Kernel kernel, F[N] a, F[N] b, F[N][R] c)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

LDC
enum LDC;
Undocumented in source.
LDC
enum LDC;
Undocumented in source.
_avx
enum _avx;
Undocumented in source.
_avx
enum _avx;
Undocumented in source.
_avx
enum _avx;
Undocumented in source.
x86_64
enum x86_64;
Undocumented in source.
x86_64
enum x86_64;
Undocumented in source.

Structs

Interp1
struct Interp1(Range, Interpolant)

Lazy interpolation shell with linear complexity.

Templates

Repeat
template Repeat(ulong n, L...)
Undocumented in source.
SplineReturnType
template SplineReturnType(F, size_t N, size_t P)
Undocumented in source.
findInterval
template findInterval(size_t dimension = 0)

Interval index for x value given.

generateShuffles1
template generateShuffles1(size_t N, size_t P)
Undocumented in source.
generateShuffles2
template generateShuffles2(size_t N, size_t P)
Undocumented in source.
generateShuffles3
template generateShuffles3(size_t N, size_t P)
Undocumented in source.

Variables

isInterval
enum bool isInterval(T);
Undocumented in source.
isInterval
enum bool isInterval(alias T);
Undocumented in source.

Meta

Authors

Ilya Yaroshenko