The Euclidean distance between vectors p and q is the length of the line segment connecting them. If p=(p1, p2,…, p n ) and q=(q1, q2,…,q n ) are vectors in Euclidean n-space, then the Euclidean distance between them is:
The Euclidean distance between vectors p and q is the length of the line segment connecting them. If p=(p1, p2,…, p n ) and q=(q1, q2,…,q n ) are vectors in Euclidean n-space, then the Euclidean distance between them is: