The OpenD Programming Language

mir.interpolate.spline

Cubic Spline Interpolation

The module provides common C2 splines, monotone (PCHIP) splines, Akima splines and others.

Members

Enums

SplineConvexity
enum SplineConvexity

Cubic Spline types.

Functions

atInterval (from mir.interpolate)
Tuple!(T, size_t) atInterval(T value, size_t intervalIndex) via public import mir.interpolate : atInterval;
metaSpline
MetaSpline!(T, X) metaSpline(RCArray!(immutable X) grid, RCArray!(const T) data, SplineBoundaryType typeOfBoundaries, F valueOfBoundaryConditions)

Spline interpolator used for non-rectiliner trapezoid-like greeds.

metaSpline
MetaSpline!(T, X) metaSpline(RCArray!(immutable X) grid, RCArray!(const T) data, SplineType kind, F param, SplineBoundaryType typeOfBoundaries, F valueOfBoundaryConditions)

Spline interpolator used for non-rectiliner trapezoid-like greeds.

metaSpline
MetaSpline!(T, X) metaSpline(RCArray!(immutable X) grid, RCArray!(const T) data, SplineBoundaryCondition!F boundaries, SplineType kind, F param)

Spline interpolator used for non-rectiliner trapezoid-like greeds.

metaSpline
MetaSpline!(T, X) metaSpline(RCArray!(immutable X) grid, RCArray!(const T) data, SplineBoundaryCondition!F lBoundary, SplineBoundaryCondition!F rBoundary, SplineType kind, F param)

Spline interpolator used for non-rectiliner trapezoid-like greeds.

metaSpline
MetaSpline!(T, X) metaSpline(RCArray!(immutable X) grid, RCArray!(const T) data, SplineConfiguration!F configuration)

Spline interpolator used for non-rectiliner trapezoid-like greeds.

splineSlopes
SplineConvexity splineSlopes(Slice!(P*, 1, gkind) points, Slice!(IV, 1, vkind) values, Slice!(IS, 1, skind) slopes, Slice!(T*) temp, SplineType kind, F param, SplineBoundaryCondition!F lBoundary, SplineBoundaryCondition!F rBoundary)

Piecewise cubic hermite interpolating polynomial.

Structs

MetaSpline
struct MetaSpline(T, X)

Spline interpolator used for non-rectiliner trapezoid-like greeds.

Spline
struct Spline(F, size_t N = 1, X = F)

Multivariate cubic spline with nodes on rectilinear grid.

SplineBoundaryCondition
struct SplineBoundaryCondition(T)

Cubic Spline Boundary Condition Type.

SplineConfiguration
struct SplineConfiguration(T)

Spline configuration

SplineKernel
struct SplineKernel(X)
SplineSymmetricConfiguration
struct SplineSymmetricConfiguration(T)

Spline configuration with two boundaries

Templates

spline
template spline(T, size_t N = 1, X = T)

Constructs multivariate cubic spline in symmetrical form with nodes on rectilinear grid. Result has continues second derivatives throughout the curve / nd-surface.

See Also

Meta

Authors

Ilia Ki