@experimental(as_of="0.4.0")
def e_matrix(distance_matrix):
    return distance_matrix * distance_matrix / -2
Compute E matrix from a distance matrix.
dataset/ETHPy150Open biocore/scikit-bio/skbio/stats/ordination/_utils.py/e_matrix