org.apache.commons.math.analysis
Class SplineInterpolator
java.lang.Object
org.apache.commons.math.analysis.SplineInterpolator
- All Implemented Interfaces:
- Serializable, UnivariateRealInterpolator
- public class SplineInterpolator
- extends Object
- implements UnivariateRealInterpolator, Serializable
Computes a natural spline interpolation for the data set.
- Version:
- $Revision: 1.11 $ $Date: 2003/12/27 15:22:34 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplineInterpolator
public SplineInterpolator()
interpolate
public UnivariateRealFunction interpolate(double[] xval,
double[] yval)
- Computes an interpolating function for the data set.
- Specified by:
interpolate
in interface UnivariateRealInterpolator
- Parameters:
xval
- the arguments for the interpolation pointsyval
- the values for the interpolation points
- Returns:
- a function which interpolates the data set
Copyright © 2003-2004 Apache Software Foundation. All Rights Reserved.