Noun
(mathematics) a function used to calculate the distance between two points.
(topology) a metric.