 Euclidean distance matrix

In mathematics, a Euclidean distance matrix is an "n×n" matrix representing the spacing of a set of "n" points in Euclidean space.If "A" is a Euclidean distance matrix and the points formula_1 are defined on "m"-dimensional space, then the elements of "A" are given by

where ||.||2 denotes the 2-norm on Rm.