org.apache.commons.math.analysis
Interface UnivariateRealInterpolator

All Known Implementing Classes:
SplineInterpolator

public interface UnivariateRealInterpolator

Interface for interpolating a data set.

Version:
$Revision: 1.7 $ $Date: 2003/11/14 22:22:17 $

Method Summary
 UnivariateRealFunction interpolate(double[] xval, double[] yval)
          Computes an interpolating function for the data set.
 

Method Detail

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 points
yval - 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-2004 Apache Software Foundation. All Rights Reserved.