Computing the typical variance (geometric mean) of a matrix.
typical_variance(mat)
mat
Matrix.
Typical variance.
typical_variance(diag(10))