This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Solving general eigenproblems with Eigen?

Tags: None
(comma "," separated)
blah900
Registered Member
Posts
1
Karma
0
Is there way to solve eigenproblems of the form

Ax = lambda Bx

and return a matrix of eigenvectors and corresponding eigenvalues in decreasing or increasing order or values from eigenvalues, like it does in ARPACK++?

Edit: Or at least is there a way to solve Ax= lambda x in such a way that you solve for only for the first few eigenvalues and eigenvectors that are the smallest or the biggest? The purpose of this is because I am trying to do modal analysis but I only really need the first 10 or 20 eigenvalues and eigenvectors from the 100s that exist.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
if A and B are symmetric and one is positive definite, then you can use the following class:
http://eigen.tuxfamily.org/dox/classEig ... olver.html

Otherwise you can solve for B^-1 A.

The algorithm we use does not allow to compute only the biggest eigenvalues. If your matrix sizes are about 100, then I doubt such an algorithm would be faster anyway.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]