org.jscience.mathematics.geometry
Class EuclidianMetric

java.lang.Object
  extended by org.jscience.mathematics.geometry.EuclidianMetric
All Implemented Interfaces:
Metric

public final class EuclidianMetric
extends java.lang.Object
implements Metric

This class provides an implementation for Metric, with the traditional meaning


Method Summary
 ComparableNumber getDistance(Vector v1, Vector v2)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDistance

public ComparableNumber getDistance(Vector v1,
                                    Vector v2)
DOCUMENT ME!

Specified by:
getDistance in interface Metric
Parameters:
v1 - DOCUMENT ME!
v2 - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!