Is there a well-behaved measure for closeness of a matrix to the block diagonal form? Permutations of rows and columns are assumed to be allowed.
This thread discusses the closeness to the diagonal matrix using the correlation coefficient, but I don't think the same approach would be generalizable to block diagonal matrices.
If such measure does not exist, what would be some of the standard measures for sparse matrices?
Thanks!