lagrange

Constructs barycentric lagrange interpolant.

  1. Lagrange!(T, maxDerivative) lagrange(X[] x, T[] y)
  2. Lagrange!(Unqual!(Slice!(Iterator, 1, kind).DeepElement), maxDerivative, X) lagrange(Slice!(RCI!(immutable X)) x, Slice!(Iterator, 1, kind) y)
    @trusted
    @optmath
    Lagrange!(Unqual!(Slice!(Iterator, 1, kind).DeepElement), maxDerivative, X)
    lagrange
    (
    uint maxDerivative = 0
    X
    Iterator
    SliceKind kind
    )
    (
    Slice!(RCI!(immutable X)) x
    ,
    Slice!(Iterator, 1, kind) y
    )
    if (
    maxDerivative < 16
    )

Meta