Click or drag to resize

RationalCubicSpline Methods

The RationalCubicSpline type exposes the following members.

Methods
 NameDescription
Public methodCubicSplineCoefficients Calculate the spline coefficients y2(i) and y3(i) for a natural cubic spline, given the abscissa x(i), the ordinate y(i), and the 1st derivative y1(i).
(Inherited from CurveBase)
Public methodCubicSplineHorner Return the interpolation value P(u) for a piecewise cubic curve determined by the abscissa vector x, the ordinate vector y, and derivative coefficient vectors y1, y2, and y3, using the Horner scheme.
(Inherited from CurveBase)
Public methodCubicSplineHorner1stDerivative Return the first derivative P'(u) of the piecewise cubic curve evaluated using Horner's scheme.
(Inherited from CurveBase)
Public methodStatic memberDifferences Calculates the difference vector dx(i) from vector x(i) and ensures that x is strictly monotone increasing or decreasing. Can be called with both arguments referring to the same vector in order to do it in place.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetBoundaryConditions Gets the boundary condition.
Public methodGetBoundaryConditions(Double, Double) Gets the boundary condition and the two condition parameters.
Public methodGetCurvePoints Get curve points to draw an interpolation curve between the abscissa values xlo and xhi. It calls the virtual methods MpCurveBase::GetXOfU() and GetYOfU() to obtain the interpolation values. Note, that before method DrawCurve() can be called the method Interpolate() must have been called. Otherwise, not interpolation is available.
(Inherited from CurveBase)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetXOfU Get the abscissa value in dependence on parameter u.
(Overrides CurveBaseGetXOfU(Double))
Public methodGetYOfU Gets the ordinate value on dependence on parameter u.
(Overrides CurveBaseGetYOfU(Double))
Public methodGetYOfX Returns the y value in dependence of a given x value.
Public methodInterpolate
(Overrides CurveBaseInterpolate(IReadOnlyListDouble, IReadOnlyListDouble))
Public methodStatic memberInverseDifferences Calculates the inverse difference vector dx(i) from vector x(i) and ensures that x is strictly monotone increasing or decreasing. Can be called with both arguments referring to the same vector in order to do it in place.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParametrize Curve length parametrization. Returns the accumulated "distances" between the points (x(i),y(i)) and (x(i+1),y(i+1)) in t(i+1) for i = lo ... hi. t(lo) = 0.0 always.
(Inherited from CurveBase)
Public methodSetBoundaryConditions Sets the boundary conditions.
Protected methodSplineA Computes the coefficient vector used by `SplineB1` and `SplineB2`.
Protected methodSplineB1 Computes the 1st derivative vector for interior points, given boundary values and the coefficients computed by `SplineA`.
Protected methodSplineB2 Computes the 2nd derivative vector for interior points, given boundary values and the coefficients computed by `SplineA`.
Protected methodSplineC1 Calculates the spline coefficients a(i), b(i), c(i), d(i) for a spline with a given 1st derivative vector. Uses the coefficients calculated by `SplineA` and `SplineB1`.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also