mir.interpolate.polynomial

Lagrange Barycentric Interpolation

Public Imports

mir.interpolate
public import mir.interpolate : atInterval;

Members

Functions

inversedBarycentricWeights
RCArray!(immutable T) inversedBarycentricWeights(Slice!(const(T)*) x)
lagrange
Lagrange!(T, maxDerivative) lagrange(X[] x, T[] y)
Lagrange!(Unqual!(Slice!(Iterator, 1, kind).DeepElement), maxDerivative, X) lagrange(Slice!(RCI!(immutable X)) x, Slice!(Iterator, 1, kind) y)

Constructs barycentric lagrange interpolant.

polynomialDerivativeValues
Slice!(T*) polynomialDerivativeValues(Slice!(T*) d, Slice!(const(T)*) x, Slice!(const(T)*) y, Slice!(const(T)*) w)

Computes derivative values in the same points

polynomialDerivativeValues
Slice!(T*) polynomialDerivativeValues(Slice!(T*) d, Slice!(const(T)*) x, Slice!(const(T)*) y)

Structs

Lagrange
struct Lagrange(T, uint maxAdditionalFunctions = 0, X = T)

See Also

Meta

License

Apache-2.0

Authors

Ilya Yaroshenko