Formula for the spectral decomposition for a symmetric matrix

math.la.t.mat.symmetric.spectraldecomposition