The OpenD Programming Language

lagrange

Constructs barycentric lagrange interpolant.

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

Meta