Matrix reindexing by permutations #
Identities for Matrix.reindex when acting symmetrically on rows and columns by permutations:
composition with respect to permutation multiplication, identity action, and pointwise
characterization.
Main results #
Matrix.reindex_perm_mul:reindex (σ * τ) (σ * τ) M = reindex σ σ (reindex τ τ M).Matrix.reindex_perm_one:reindex 1 1 M = M.Matrix.reindex_eq_iff:reindex eₘ eₙ A = M ↔ ∀ i j, M (eₘ i) (eₙ j) = A i j.