spline.spline

Parameters

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

immutable x values for interpolant

values Slice!(yIterator, N, ykind)

f(x) values for interpolant

boundaries SplineBoundaryCondition!T

SplineBoundaryCondition for both tails.

kind SplineType

SplineType type of cubic spline.

param T

tangent power parameter for cardinal SplineType (ignored by other spline types). Use 1 for zero derivatives at knots and 0 for Catmull–Rom spline. Constraints: grid and values must have the same length >= 3

Return Value

Type: Spline!(T, N, X)

Meta