Class SmoothingBicubicSplineInterpolator
- java.lang.Object
-
- org.apache.commons.math.analysis.interpolation.SmoothingBicubicSplineInterpolator
-
- All Implemented Interfaces:
BivariateRealGridInterpolator
@Deprecated public class SmoothingBicubicSplineInterpolator extends java.lang.Object implements BivariateRealGridInterpolator
Deprecated.This class does not perform smoothing; the name is thus misleading. Please useBicubicSplineInterpolator
instead. If smoothing is desired, a tentative implementation is provided in classSmoothingPolynomialBicubicSplineInterpolator
. This class will be removed in math 3.0.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
-
-
Constructor Summary
Constructors Constructor Description SmoothingBicubicSplineInterpolator()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BivariateRealFunction
interpolate(double[] xval, double[] yval, double[][] zval)
Deprecated.Computes an interpolating function for the data set.
-
-
-
Method Detail
-
interpolate
public BivariateRealFunction interpolate(double[] xval, double[] yval, double[][] zval) throws MathException, java.lang.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.java.lang.IllegalArgumentException
-
-