skbio.stats.ordination.e_matrix#

skbio.stats.ordination.e_matrix(distance_matrix)[source]#

Compute E matrix from a distance matrix.

Squares and divides by -2 the input elementwise. Eq. 9.20 in Legendre & Legendre 1998.