public class BicubicSplineInterpolator extends java.lang.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, java.lang.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.java.lang.IllegalArgumentException
Copyright © 2010 - 2020 Adobe. All Rights Reserved