smile.interpolation
Class CubicSplineInterpolation2D
- java.lang.Object
-
- smile.interpolation.CubicSplineInterpolation2D
-
- All Implemented Interfaces:
- Interpolation2D
public class CubicSplineInterpolation2D extends java.lang.Object implements Interpolation2D
Cubic spline interpolation in a two-dimensional regular grid. It is similar to one-dimensional splines as it guarantees the continuity of the first and second function derivatives. Note that bicubic spline guarantees continuity of only gradient and cross-derivative.
-
-
Constructor Summary
Constructors Constructor and Description CubicSplineInterpolation2D(double[] x1, double[] x2, double[][] y)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleinterpolate(double x1p, double x2p)Interpolate the data at a given 2-dimensional point.
-
-
-
Constructor Detail
-
CubicSplineInterpolation2D
public CubicSplineInterpolation2D(double[] x1, double[] x2, double[][] y)Constructor.
-
-
Method Detail
-
interpolate
public double interpolate(double x1p, double x2p)Description copied from interface:Interpolation2DInterpolate the data at a given 2-dimensional point.- Specified by:
interpolatein interfaceInterpolation2D
-
-
DataMelt 3.0 © DataMelt by jWork.ORG