Evaluates the cubic spline interpolation of a function at a point when the 2nd differentials at the tabulation points are known.
functionValuesAtTabulationPoints[i] = f(tabulationPointsInX[i]).functionValuesAtTabulationPoints[i] = f(tabulationPointsInX[i]).cubicSpline2ndDifferential.The 2nd differentials can be evaluated using the method CubicSpline2ndDiff.
Details
Given the arrays tabulationPointsInX[0..n-1] and functionValuesAtTabulationPoints[0..n-1],
which tabulate a function where the tabulationPointsInX is an array where the elements are monotonically
increasing. Moreover, given the array secondDifferenttial[0..n-1], which is the output of the method
CubicSpline2ndDifferential, and given a value of the interpolation points interpolationPoint,
this method returns the value of the function at interpolationPoint according to the cubic-spline
interpolation method.
Remarks of this methods application
| Exception Type | Condition |
|---|---|
| InterpolationException | Thrown when the input values do not meet the requirements mentioned above. |
Inter Class | Interpolation Namespace | CubicSpline | CubicSpline2ndDiff