calculate Euclidean distances between rows of matrix X
distRcpp(X)
X
data matrix
distance matrix
x <- matrix(rnorm(100), nrow = 5) distRcpp(x)