Fast vectorised Euclidean distance calculator
fastDist(x, squared = FALSE)
x
: Matrix with vectors in columns.squared
: Will not perform the square root, i.e. will return the squared `L2-norm'.Returns a matrix of pairwise distances
Calculates Euclidean distances between vectors arranged as columns in a matrix.
## Not run: dist <- fastDist(x) ## End(Not run)
Wajid Jawaid
Useful links