Registered Member
|
Hello,
This may be relevant to some people. At the moment I use the Eigenvalue decomposition implemented in Eigen (or MKL ?GEES) but I just need to find the largest Eigenvalue. This can be done a lot more efficiently using the Power Method or Power Iteration method e.g. http://www-stat.stanford.edu/~susan/cou ... ode40.html http://en.wikipedia.org/wiki/Power_iteration Is this supported in Eigen? otherwise it would be quite useful because often people just need the largest Eigenvalue and it is a waste to compute all just to get the largest. I am implementing it for my project but I think it perhaps would be a needed addition to Eigen. Best regards, Giovanni |
Moderator
|
Yes, at some point we should provide a reference and generic implementation in Eigen supporting both dense and sparse matrices.
|
Registered Member
|
Here a reference implementation (ported to Eigen from http://www-stat.stanford.edu/~susan/cou ... ode40.html):
|
Moderator
|
yes, there were some other starts there: viewtopic.php?f=74&t=108033#p251878
|
Registered Member
|
Hi There,
I only need the left eigenvector corresponding the largest eigenvalue of some matrix like 10*10. Is there any fast approach to reach it? Thanks, |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]