Class SmoothingBicubicSplineInterpolator
java.lang.Object
org.apache.commons.math.analysis.interpolation.SmoothingBicubicSplineInterpolator
- All Implemented Interfaces:
BivariateRealGridInterpolator
@Deprecated
public class SmoothingBicubicSplineInterpolator
extends Object
implements BivariateRealGridInterpolator
Deprecated.
Generates a bicubic interpolation function.
Before interpolating, smoothing of the input data is performed using
splines.
See Handbook on splines for the user, ISBN 084939404X,
chapter 2.
- Since:
- 2.1
- Version:
- $Revision: 1059400 $ $Date: 2011-01-15 20:35:27 +0100 (sam. 15 janv. 2011) $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterpolate
(double[] xval, double[] yval, double[][] zval) Deprecated.Computes an interpolating function for the data set.
-
Constructor Details
-
SmoothingBicubicSplineInterpolator
public SmoothingBicubicSplineInterpolator()Deprecated.
-
-
Method Details
-
interpolate
public BivariateRealFunction interpolate(double[] xval, double[] yval, double[][] zval) throws MathException, IllegalArgumentException Deprecated.Computes an interpolating function for the data set.- Specified by:
interpolate
in interfaceBivariateRealGridInterpolator
- Parameters:
xval
- All the x-coordinates of the interpolation points, sorted in increasing order.yval
- All the y-coordinates of the interpolation points, sorted in increasing order.zval
- The values of the interpolation points on all the grid knots:fval[i][j] = f(xval[i], yval[j])
.- Returns:
- a function which interpolates the data set.
- Throws:
MathException
- if arguments violate assumptions made by the interpolation algorithm.IllegalArgumentException
-
BicubicSplineInterpolator
instead. If smoothing is desired, a tentative implementation is provided in classSmoothingPolynomialBicubicSplineInterpolator
. This class will be removed in math 3.0.