powered by
The Euclidean distance for real vectors.
distanceRealEuclidean(x, y)
numeric distance value $$d(x,y)$$
first real vector
second real vector
x <- runif(5) y <- runif(5) distanceRealEuclidean(x,y)
Run the code above in your browser using DataLab