The OpenD Programming Language

spline.spline

  1. Spline!(T, N, X) spline(Repeat!(N, Slice!(RCI!(immutable X))) grid, Slice!(yIterator, N, ykind) values, SplineBoundaryType typeOfBoundaries, T valueOfBoundaryConditions)
    template spline(T, size_t N = 1, X = T)
    Spline!(T, N, X)
    spline
    (
    yIterator
    SliceKind ykind
    )
    (
    Repeat!(N, Slice!(RCI!(immutable X))) grid
    ,
    Slice!(yIterator, N, ykind) values
    ,
    SplineBoundaryType typeOfBoundaries = SplineBoundaryType.notAKnot
    ,)
    if (
    isFloatingPoint!T &&
    is(T == Unqual!T)
    &&
    N <= 6
    )
  2. Spline!(T, N, X) spline(Repeat!(N, Slice!(RCI!(immutable X))) grid, Slice!(yIterator, N, ykind) values, SplineBoundaryCondition!T boundaries, SplineType kind, T param)
  3. Spline!(T, N, X) spline(Repeat!(N, Slice!(RCI!(immutable X))) grid, Slice!(yIterator, N, ykind) values, SplineBoundaryCondition!T lBoundary, SplineBoundaryCondition!T rBoundary, SplineType kind, T param)
  4. Spline!(T, N, X) spline(Repeat!(N, Slice!(RCI!(immutable X))) grid, Slice!(yIterator, N, ykind) values, SplineConfiguration!T configuration)

Parameters

grid Repeat!(N, Slice!(RCI!(immutable X)))

immutable x values for interpolant

values Slice!(yIterator, N, ykind)

f(x) values for interpolant

typeOfBoundaries SplineBoundaryType

SplineBoundaryType for both tails (optional).

valueOfBoundaryConditions T

value of the boundary type (optional). Constraints: grid and values must have the same length >= 3

Return Value

Type: Spline!(T, N, X)

Meta