public class KrigingInterpolation1D extends java.lang.Object implements Interpolation
| Constructor and Description |
|---|
KrigingInterpolation1D(double[] x,
double[] y)
Constructor.
|
KrigingInterpolation1D(double[] x,
double[] y,
double beta)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
interpolate(double x)
Given a value x, return an interpolated value.
|
java.lang.String |
toString() |
public KrigingInterpolation1D(double[] x,
double[] y)
x - the point set.y - the function values at given points.public KrigingInterpolation1D(double[] x,
double[] y,
double beta)
x - the point set.y - the function values at given points.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 x)
Interpolationinterpolate in interface Interpolationpublic java.lang.String toString()
toString in class java.lang.Object