CardinalCubicSpline Type

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

Constructors

Constructor Description

CardinalCubicSpline()

Full Usage: CardinalCubicSpline()

Instance members

Instance member Description

this.GetXOfU

Full Usage: this.GetXOfU

Parameters:
    t : float

Returns: float
Modifiers: abstract

t : float
Returns: float

this.GetYOfU

Full Usage: this.GetYOfU

Parameters:
    t : float

Returns: float
Modifiers: abstract

t : float
Returns: float

this.Interpolate

Full Usage: this.Interpolate

Parameters:
Modifiers: abstract

x : IReadOnlyList<float>
y : IReadOnlyList<float>