Click or drag to resize
Accord.NET (logo)

DistanceMahalanobis Method (Double, Double, CholeskyDecomposition)

Gets the Mahalanobis distance between two points.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.6.0
Syntax
public static double Mahalanobis(
	double[] x,
	double[] y,
	CholeskyDecomposition chol
)
Request Example View Source

Parameters

x
Type: SystemDouble
y
Type: SystemDouble
chol
Type: Accord.Math.DecompositionsCholeskyDecomposition

Return Value

Type: Double
The Mahalanobis distance between x and y.
See Also