num::unsafe::eig_sym¶
Defined in header <linear/eigen/jacobi_eig.hpp>
eigen_result eig_sym(const mat<real> &A, real tol = 1e-12, idx max_sweeps = 100);
Compute the eigenvalues and eigenvectors of a matrix assumed symmetric, without checking: \(A = V \Lambda V^T\). Reads the lower triangle.
Warning
An asymmetric matrix yields the spectrum of its symmetric part, not an error.