|
DistanceSquareMahalanobis Method (Double, Double, CholeskyDecomposition)
|
Gets the SquareMahalanobis distance between two points.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double SquareMahalanobis(
double[] x,
double[] y,
CholeskyDecomposition chol
)
Public Shared Function SquareMahalanobis (
x As Double(),
y As Double(),
chol As CholeskyDecomposition
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
The first point x. - y
- Type: SystemDouble
The second point y. - chol
- Type: Accord.Math.DecompositionsCholeskyDecomposition
Return Value
Type:
DoubleThe SquareMahalanobis distance between x and y.
Examples See Also