Spline

Multivariate cubic spline with nodes on rectilinear grid.

Constructors

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

Members

Aliases

withDerivative
alias withDerivative = opCall!1
withTwoDerivatives
alias withTwoDerivatives = opCall!2

Functions

_computeDerivatives
void _computeDerivatives(SplineType kind, F param, SplineBoundaryCondition!F lbc, SplineBoundaryCondition!F rbc)
_computeDerivativesTemp
void _computeDerivativesTemp(SplineType kind, F param, SplineBoundaryCondition!F lbc, SplineBoundaryCondition!F rbc, Slice!(F*) temp)

Computes derivatives and stores them in _data. _data is assumed to be preinitialized with function values filled in F[2 ^^ N][0].

_values
void _values(Slice!(Iterator, N, kind) values)

Assigns function values to the internal memory. For internal use.

grid
Slice!(RCI!(immutable X)) grid()
gridScopeView
immutable(X)[] gridScopeView()
gridShape
size_t[N] gridShape()
intervalCount
size_t intervalCount()
lightConst
Spline lightConst()
lightImmutable
Spline lightImmutable()

Static functions

pickDataSubslice
auto pickDataSubslice(D data, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

opCall
template opCall(uint derivative : 2)
opCall
template opCall(uint derivative = 0)

Variables

_data
Slice!(RCI!(F[2^^N]), N) _data;

Aligned buffer allocated with mir.internal.memory. For internal use.

_grid
Repeat!(N, RCI!(immutable X)) _grid;

Grid iterators. For internal use.

derivativeOrder
enum uint derivativeOrder;

Meta