An arbitrary matrix can be decomposed into its symmetric and anti-symmetric components.
But the diagonal components are hidden in the symmetric components.
I want to eject the diagonal components from the symmetric components.
How can I decompose that symmetric matrix into the sum of its diagonal components and another matrix.
Diagonal elements depend upon the chosen basis. The symmetric/anti-symmetric decomposition only depends upon the scalar product (thus independent of the chosen orthonormal basis). Anyway, if you really want to do the extraction, let $e_i$ denote the canonical basis. Then $$ \Delta = \sum_i e_i e_i^T A e_i e_i^T $$ does the job.