*** Welcome to piglix ***

Minkowski distance


The Minkowski distance is a metric in a normed vector space which can be considered as a generalization of both the Euclidean distance and the Manhattan distance.

The Minkowski distance of order p between two points

is defined as:

For , the Minkowski distance is a metric as a result of the Minkowski inequality. When , the distance between (0,0) and (1,1) is , but the point (0,1) is at a distance 1 from both of these points. Since this violates the triangle inequality, for it is not a metric.


...
Wikipedia

...