public class KrigingInterpolation2D extends java.lang.Object implements Interpolation2D
| Constructor and Description |
|---|
KrigingInterpolation2D(double[] x1,
double[] x2,
double[] y)
Constructor.
|
KrigingInterpolation2D(double[] x1,
double[] x2,
double[] y,
double beta)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
interpolate(double x1,
double x2)
Interpolate the data at a given 2-dimensional point.
|
java.lang.String |
toString() |
public KrigingInterpolation2D(double[] x1,
double[] x2,
double[] y)
x1 - the 1st dimension of data points.x2 - the 2nd dimension of data points.y - the function values.public KrigingInterpolation2D(double[] x1,
double[] x2,
double[] y,
double beta)
x1 - the 1st dimension of data points.x2 - the 2nd dimension of data points.y - the function values.beta - the parameter of power variogram. The value of β
should be in the range 1 ≤ β < 2.
A good general choice is 1.5, but for functions with
a strong linear trend, we may experiment with values as
large as 1.99.public double interpolate(double x1,
double x2)
Interpolation2Dinterpolate in interface Interpolation2Dpublic java.lang.String toString()
toString in class java.lang.Object