Euclidean Distance between two matrices
distance2(x1, x2)
x1
x2
Suhai (Timothy) Liu
## The function is currently defined as function (x1, x2) { temp <- x1 - x2 sum(temp * temp) }