skbio.core.distance.DissimilarityMatrix.size

DissimilarityMatrix.size

Total number of elements in the dissimilarity matrix.

Notes

Equivalent to self.shape[0] * self.shape[1].