Interface MultivariateInterpolator
- All Known Implementing Classes:
MicrosphereProjectionInterpolator
public interface MultivariateInterpolator
Interface representing a univariate real interpolating function.
-
Method Summary
Modifier and TypeMethodDescriptioninterpolate
(double[][] xval, double[] yval) Computes an interpolating function for the data set.
-
Method Details
-
interpolate
MultivariateFunction interpolate(double[][] xval, double[] yval) throws MathIllegalArgumentException, NullArgumentException Computes an interpolating function for the data set.- Parameters:
xval
- the arguments for the interpolation points.xval[i][0]
is the first component of interpolation pointi
,xval[i][1]
is the second component, and so on untilxval[i][d-1]
, the last component of that interpolation point (whered
is thus the dimension of the space).yval
- the values for the interpolation points- Returns:
- a function which interpolates the data set
- Throws:
MathIllegalArgumentException
- if the arguments violate assumptions made by the interpolation algorithm.MathIllegalArgumentException
- when the array dimensions are not consistent.MathIllegalArgumentException
- if an array has zero-length.NullArgumentException
- if the arguments arenull
.
-