Change of basis between symmetric matrices (source code)

= Change of basis between symmetric matrices

When we have a <symmetric matrix>, a <change of basis> keeps symmetry iff it is done by an <orthogonal matrix>, in which case:
$$
N = BMB^{-1} = OMO^T
$$