org.apache.commons.math.analysis
Interface UnivariateRealInterpolator
- All Known Implementing Classes:
- DividedDifferenceInterpolator, NevilleInterpolator, SplineInterpolator
public interface UnivariateRealInterpolator
Interface representing a univariate real interpolating function.
- Version:
- $Revision: 480440 $ $Date: 2006-11-29 00:14:12 -0700 (Wed, 29 Nov 2006) $
interpolate
UnivariateRealFunction interpolate(double[] xval,
double[] yval)
throws MathException
- Computes an interpolating function for the data set.
- Parameters:
xval
- the arguments for the interpolation pointsyval
- the values for the interpolation points
- Returns:
- a function which interpolates the data set
- Throws:
MathException
- if arguments violate assumptions made by the
interpolationg algorithm