A simplified version of the scipy.spatial.distance.squareform() function.
x : numpy.array or list
The one-dimensional flat representation of a symmetrix distance matrix.
matrix : numpy.array
The two-dimensional redundant representation of a symmetric distance matrix.
Enter search terms or a module, class or function name.