Cubic HermitePiece

An AbstractHermiteSpline is defined by a sequence of cubic pieces. Each piece can be accessed and "extracted" as HermitePiece for local evaluation.

Note

HermitePiece is stored as a pairs of knots, values and derivatives.

HermiteSpline.hermitebasisMethod
cx0, cdx0, cx1, cdx1 = hermitebasis(t)

Evaluate Hermite basis for computing values as weighted sum of coefficients x0, dx0, x1, dx1 for 0 <= t <= 1.

source
HermiteSpline.hermitederivativebasisMethod
ex0, edx0, ex1, edx1 = hermitederivativebasis(t)

Evaluate Hermite basis for computing derivatives as weighted sum of coefficients x0, dx0, x1, dx1 for 0 <= t <= 1.

source