Spectral decomposition of symmetric matrix $A_{n\times n}$, specifically, $n=3$
find the orthogonal matrix $Q$ and diagonal matrix $\Lambda$ such that:
$A=Q\Lambda Q^T$
How to implement such decomposition in Eigen C++? or any other C++ implementations?