Class BicubicSpline
- java.lang.Object
-
- dev.nm.analysis.curvefit.interpolation.bivariate.BicubicSpline
-
- All Implemented Interfaces:
BivariateGridInterpolation
public class BicubicSpline extends Object implements BivariateGridInterpolation
Bicubic splines are the two-dimensional equivalent of cubic splines. In this two-dimensional case, for each of the N columns of grid values, an one-dimensional spline z(xi, y) is constructed. To interpolate the value of a point (a, b), N values at b (i.e., z(xi, b)) are first obtained from the column splines, Then, an one-dimensional cubic spline interpolation is performed on those N values to interpolate the value at (a, b) (i.e., z(a, b)). Like in the one-dimensional case, natural splines are constructed.- See Also:
CubicSpline
-
-
Constructor Summary
Constructors Constructor Description BicubicSpline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealScalarFunction
interpolate(BivariateGrid grid)
Constructs a real valued function from a grid of observations.
-
-
-
Method Detail
-
interpolate
public RealScalarFunction interpolate(BivariateGrid grid)
Description copied from interface:BivariateGridInterpolation
Constructs a real valued function from a grid of observations.- Specified by:
interpolate
in interfaceBivariateGridInterpolation
- Parameters:
grid
- the grid of observations- Returns:
- the interpolated function
-
-