public interface DistanceMeasure extends Serializable
| Modifier and Type | Method and Description |
|---|---|
double |
compute(double[] a,
double[] b)
Compute the distance between two n-dimensional vectors.
|
double compute(double[] a, double[] b)
The two vectors are required to have the same dimension.
a - the first vectorb - the second vectorCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.