|
DistanceMahalanobis Method (Double, Double, SingularValueDecomposition)
|
Gets the Mahalanobis distance between two points.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Mahalanobis(
double[] x,
double[] y,
SingularValueDecomposition svd
)
Public Shared Function Mahalanobis (
x As Double(),
y As Double(),
svd As SingularValueDecomposition
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
The first point x. - y
- Type: SystemDouble
The second point y. - svd
- Type: Accord.Math.DecompositionsSingularValueDecomposition
Return Value
Type:
DoubleThe Mahalanobis distance between x and y.
Examples
For examples, please see
Mahalanobis documentation page.
See Also