Top Description Methods
org.apache.commons.math3.analysis.interpolation

public Interface MultivariateInterpolator

Known Direct Implementers
org.apache.commons.math3.analysis.interpolation.MicrosphereInterpolator, org.apache.commons.math3.analysis.interpolation.MicrosphereProjectionInterpolator
Imports
org.apache.commons.math3.analysis.MultivariateFunction, org.apache.commons.math3.exception.DimensionMismatchException, .MathIllegalArgumentException, .NoDataException, .NullArgumentException

Interface representing a univariate real interpolating function.
Since
2.1

Method Summary

Modifier and TypeMethod and Description
public MultivariateFunction

Returns:

a function which interpolates the data set
interpolate
(double[][]
the arguments for the interpolation points. xval[i][0] is the first component of interpolation point i, xval[i][1] is the second component, and so on until xval[i][d-1], the last component of that interpolation point (where d is thus the dimension of the space).
xval
,
double[]
the values for the interpolation points
yval
)

Computes an interpolating function for the data set.

Method Detail

interpolateback to summary
public MultivariateFunction interpolate(double[][] xval, double[] yval) throws MathIllegalArgumentException, DimensionMismatchException, NoDataException, NullArgumentException

Computes an interpolating function for the data set.

Parameters
xval:double[][]

the arguments for the interpolation points. xval[i][0] is the first component of interpolation point i, xval[i][1] is the second component, and so on until xval[i][d-1], the last component of that interpolation point (where d is thus the dimension of the space).

yval:double[]

the values for the interpolation points

Returns:MultivariateFunction

a function which interpolates the data set

Exceptions
MathIllegalArgumentException:
if the arguments violate assumptions made by the interpolation algorithm.
DimensionMismatchException:
when the array dimensions are not consistent.
NoDataException:
if an array has zero-length.
NullArgumentException:
if the arguments are null.