ILNumerics Ultimate VS

Interpolationkriging Method (InArrayDouble, InArrayDouble, InArrayDouble, FuncInArrayDouble, RetArrayDouble, OutArrayDouble)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Kriging interpolation from scattered data

[ILNumerics Interpolation Toolbox]

Namespace:  ILNumerics.Toolboxes
Assembly:  ILNumerics.Toolboxes.Interpolation (in ILNumerics.Toolboxes.Interpolation.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetArray<double> kriging(
	InArray<double> V,
	InArray<double> X,
	InArray<double> Xn,
	Func<InArray<double>, RetArray<double>> variogram = null,
	OutArray<double> error = null
)

Parameters

V
Type: ILNumericsInArrayDouble
Data values, matrix with measured values at the n data points provided by X. Size [k x n].
X
Type: ILNumericsInArrayDouble
Data points, matrix with sample locations of dimension m in n columns. At least 2 samples must be provided.
Xn
Type: ILNumericsInArrayDouble
New points to compute interpolated values for. The format corresponds to the X parameter. Size [k x l].
variogram (Optional)
Type: SystemFuncInArrayDouble, RetArrayDouble
[Optional] Variogram function of the euclidian distances. Default: PowerLawVariogram(InArrayDouble)
error (Optional)
Type: ILNumericsOutArrayDouble
[Optional] if not null on input error information will be returned.

Return Value

Type: RetArrayDouble
Interpolated values for each point (column) provided in Xn
Exceptions

ExceptionCondition
ArgumentException is thrown if either of X or V are null or do not have matching sizes.
ArgumentException if too few points are provided or all provided points X are too close to each other so that no reliable interpolation can be performed.
Remarks

Kriging interpolation learns a hidden function from the given data based on statistical properties of the data. Kriging is well suited for scattered data interpolation.

The interpolation is based on the geometrical relation of the points provided in X. The algorithm will remove any points being too close to each in order to increase stability of the algorithm.

While the default variogram function is fine in most situations one can provide a custom variogram function to the interpolation.

More details are found in the online documentation.

[ILNumerics Interpolation Toolbox]

See Also

Reference