bicubic interpolating
function.Caveat
Because the interpolation scheme requires that derivatives be
specified at the sample points, those are approximated with finite
differences (using the 2-points symmetric formulae).
Since their values are undefined at the borders of the provided
interpolation ranges, the interpolated values will be wrong at the
edges of the patch.
The interpolate method will return a function that overrides
BicubicInterpolatingFunction#isValidPoint(double, double) to
indicate points where the interpolation will be inaccurate.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BicubicInterpolatingFunction | interpolate(final double[]
All the x-coordinates of the interpolation points, sorted
in increasing order. xval, final double[] All the y-coordinates of the interpolation points, sorted
in increasing order. yval, final double[][] The values of the interpolation points on all the grid knots:
fval)fval[i][j] = f(xval[i], yval[j]).Implements org. Compute an interpolating function for the dataset. |
| BicubicInterpolator | back to summary |
|---|---|
| public BicubicInterpolator() | |
| interpolate | back to summary |
|---|---|
| public BicubicInterpolatingFunction interpolate(final double[] xval, final double[] yval, final double[][] fval) throws NoDataException, DimensionMismatchException, NonMonotonicSequenceException, NumberIsTooSmallException Implements org. Doc from org. Compute an interpolating function for the dataset.
| |