DISTANCE Function

The DISTANCE function computes pairwise distances betweens rows of a matrix.