Package math

Interface Summary
Metric A Metric is a function that satisfies the following properties for all x,y, z:
 

Class Summary
EuclideanMetric The Euclidean metric (i.e., the notion of distance that most people are familiar with)
PostOfficeMetric The Post Office metric (i.e., a notion of distance that makes sense if, to travel between two points, you have to go through a central post office located at the origin) This is sometimes also called the British Rail metric and/or the shuttle metric.
RectilinearMetric The rectilinear metric (i.e., the sum of the absolute values of the differences between the elements).
SupremumMetric The supremum metric.
 



Design and Implementation of Multimedia Software, Jones and Bartlett Publishers