L1 or Manhattan distance
L2 or Euclidean distance
L-infinte or Chebyshev distance
L-p or Minkowsky distance
A distance function that can be used in spatial algorithms such as nearest neighbour.
Computes a similarity matrix with gaussian kernel and scaling parameter eps
eps