org.apache.commons.math.analysis.interpolation
Interface UnivariateRealInterpolator
- All Known Implementing Classes:
- DividedDifferenceInterpolator, LinearInterpolator, LoessInterpolator, NevilleInterpolator, SplineInterpolator, UnivariateRealPeriodicInterpolator
public interface UnivariateRealInterpolator
Interface representing a univariate real interpolating function.
- Version:
- $Id: UnivariateRealInterpolator.java 1146099 2011-07-13 15:28:21Z erans $
interpolate
UnivariateRealFunction interpolate(double[] xval,
double[] yval)
- Compute an interpolating function for the dataset.
- Parameters:
xval - Arguments for the interpolation points.yval - Values for the interpolation points.
- Returns:
- a function which interpolates the dataset.
- Throws:
MathIllegalArgumentException - if the arguments violate assumptions made by the interpolation
algorithm.
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.