The Euclidean distance between the n-dimensional vectors a and b can be calculated as follows:
© Ola SÃ¶der, May 29, 2008