public class BicubicSplineInterpolator extends Object implements BivariateRealGridInterpolator
Constructor and Description |
---|
BicubicSplineInterpolator() |
Modifier and Type | Method and Description |
---|---|
BicubicSplineInterpolatingFunction |
interpolate(double[] xval,
double[] yval,
double[][] fval)
Computes an interpolating function for the data set.
|
public BicubicSplineInterpolatingFunction interpolate(double[] xval, double[] yval, double[][] fval) throws MathException, IllegalArgumentException
interpolate
in interface BivariateRealGridInterpolator
xval
- All the x-coordinates of the interpolation points, sorted
in increasing order.yval
- All the y-coordinates of the interpolation points, sorted
in increasing order.fval
- The values of the interpolation points on all the grid knots:
fval[i][j] = f(xval[i], yval[j])
.MathException
- if arguments violate assumptions made by the
interpolation algorithm.IllegalArgumentException
Copyright © 2003–2018. All rights reserved.