What is the easiest and fastest way (with some library, of course) to compute the k largest eigenvalues ββand eigenvectors for a large dense matrix in C ++? I am looking for the equivalent function of MATLAB eigs
; I looked through Armadillo and Eigen, but could not find it, and all eigenvalues ββare calculated forever in my case (I need the first 10 eigenvectors for a dense asymmetric real matrix of size 30000x30000).
Desperate, I even tried to implement force iterations on my own with the QR Armadillo decomposition, but ran into complex pairs of eigenvalues ββand gave up. :)
source share