What's an easy way to find the Euclidean distance between two n-dimensional vectors in Julia?
Here is a simple way
n = 10 x = rand(n) y = rand(n) d = norm(x-y) # The euclidean (L2) distance
For Manhattan/taxicab/L1 distance, use norm(x-y,1)
norm(x-y,1)