Evaluates the value at a given point of the interpolation function obtained by the bicubic spline interpolation approach applied to a function of two independent variables which is known at certain tabulation points.
double[][]) representing the function in two variables which we interpolate. This matrix (or double[][]) represents a function by the (m,n)th entry being the value of the function at the mth tabulated point in the first variable and the nth tabulated point in the second variable.The value at a given point of the interpolation function obtained by the bicubic spline interpolation approach.
Given the tabulation points tabulationPointsInFirstVariable[0..m-1] and
tabulationPointsInSecondVariable[0..n-1], and the values of the function function[0..m-1][n-1], we
wish to interpolate on the grid spanned by the tabulation points. We can evaluate
the value of the bicubic spline of the function at a given interpolation point
(interpolationPointFirstCoordinate, interpolationPointSecondCoordinate).
The following restrictions apply to the input parameters:
tabulationPointsInFirstVariable array has a different
length to the function matrix the shorter length will be used as
reference.tabulationPointsInSecondVariable
array.| Exception Type | Condition |
|---|---|
| InterpolationException | Thrown when the input values do not meet the requirements mentioned above. |
Interpolation Class | WebCab.Libraries.Math.Interpolation Namespace