Obtain distance matrix from scipy `linkage` output
The linkage output clearly does not contain the entire distance matrix. The output is (n-1 x 4), but the entire distance matrix is much larger: n*(n-1)/2.
The contents of the matrix are well described in the Scopus documentation.
I would like to reconstruct a condensed distance matrix from the linkage output when using scipy.cluster.hierarchy.linkage. 
The input is an m by n observation matrix. I understand therefore, that the distances are computed internally and then finally output in the linkage table.
Does anybody know of a solution to obtain the condensed distance matrix from the linkage output?