I know that matrix multiplication in general is not commutative. So, in general:
$A, B \in \mathbb{R}^{n \times n}: A \cdot B \neq B \cdot A$
But for some matrices, this equations holds, e.g. A = Identity or A = Null-matrix $\forall B \in \mathbb{R}^{n \times n}$.
I think I remember that a group of special matrices (was it $O(n)$, the group of orthogonal matrices?) exist, for which matrix multiplication is commutative.
For which matrices $A, B \in \mathbb{R}^{n \times n}$ is $A\cdot B = B \cdot A$?