Computes the symmetric eigenvalue decomposition of a symmetric matrix, \(X=U.D.U'\), where \(U\) is a matrix of orthogonal eigenvectors and \(D\) is a diagonal matrix of eigenvalues. The result is similar to that of eigen(.,symmetric=TRUE) but its evaluation uses the SelfAdjointEigenSolver function from the Eigen C++ library. No symmetry check is performed.
Usage
sym_eigen(X)
Arguments
X
A symmetric matrix (possibly in sparseMatrix format).
Value
A list with members u (matrix of eigenvectors) and d (vector of eigenvalues).