org.apache.commons.math.analysis
Interface UnivariateRealInterpolator
- All Known Implementing Classes:
- SplineInterpolator
- public interface UnivariateRealInterpolator
Interface representing a univariate real interpolating function.
- Version:
- $Revision: 155427 $ $Date: 2005-02-26 06:11:52 -0700 (Sat, 26 Feb 2005) $
interpolate
public 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
Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.