public interface Metric
A Metric is a function that satisfies the following properties for all x,y, z:
(The last of these properties is called the triangle inequality.)
Modifier and Type | Method and Description |
---|---|
double |
distance(double[] x,
double[] y)
Calculate the distance between two n-dimensional points.
|