Calculate the Cardinal cubic spline interpolation for the given abscissa vector x and ordinate vector y. All vectors must have conformant dimensions.
/ -0.5 1.5 -1.5 0.5 \ / P1 \ CSpline(t) = (t^3 t^2 t 1) | 1.0 -2.5 2.0 -0.5 | | P2 | = T M G | -0.5 0.0 0.5 0.0 | | P3 | \ 0.0 1.0 0.0 0.0 / \ P4 / T is the polynomial basis vector M is the basis matrix of the Cardinal spline G is the geometry vector of the control points
Constructor | Description |
Full Usage:
CardinalCubicSpline()
|
|
Instance member | Description |
Full Usage:
this.GetXOfU
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.GetYOfU
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Interpolate
Parameters:
IReadOnlyList<float>
y : IReadOnlyList<float>
Modifiers: abstract |
|