| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: the distance between the two vectorsthe first vector a, double[] the second vector b)Compute the distance between two n-dimensional vectors. |
| compute | back to summary |
|---|---|
| public double compute(double[] a, double[] b) throws DimensionMismatchException Compute the distance between two n-dimensional vectors. The two vectors are required to have the same dimension.
| |