skbio.stats.ordination.e_matrix

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

Compute E matrix from a distance matrix.

State: Experimental as of 0.4.0.

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