public class MahalanobisDistance extends java.lang.Object implements Metric<double[]>, java.io.Serializable
| Constructor and Description |
|---|
MahalanobisDistance(double[][] cov)
Constructor with given covariance matrix.
|
| Modifier and Type | Method and Description |
|---|---|
double |
d(double[] x,
double[] y)
Returns the distance measure between two objects.
|
java.lang.String |
toString() |