[eigen] ordering of eigenvalues |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] ordering of eigenvalues
- From: Susanne Suter <susanne.suter@xxxxxxxxx>
- Date: Tue, 8 Feb 2011 16:58:47 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=fKmuWFtstp/z20zOOWY/Zv7g7q+MTtNWM6xIuzyyMEI=; b=fOAPVUvU294344HxW1M9bpDwA6bqhMc21kv2Z4vtVMq378ACuQ6zWI29OFoqzs8ZdM P6oETkIxbBKWq0gwLBisaJlwL6KMwiOWEUz9emmppXK9A0ZGZaFLJ2KzQRt3Gn+sq8QC xEeKNDq0Kta7LbC7WmUE2paNQ5hQcuUUb4E/s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=K7adgPhxRKSqNyx3UxYVMaDfMvjXHOtwbk2w39ULvtme7/afvVg10O/5GAtAnW/x2l liCcTluLtOxYPJS2+f5ATAetwdDQhfldnL8/mtZKYpk6wnlPRo83A6wX5u/MXaE1h/qO Dp1jMgjKR4j5/bcL/F/x1l+VcLRnqHKO010zI=
Hi
I'm testing the Eigen library in order to use it for eigenvalue
decomposition or SVD. In the end I need the eigenvectors (left
singular vectors) and the eigenvalues (singular values).
I noticed that when using the EigenSolver classes, the ordering of the
eigenvalues is not as I expected. Normally, I would expect that I get
an ordering analogous to the singular values, i.e., an ordering with
the maximum absolute value first and then decreasing values ordered by
their absolute value (sometimes also called "largest magnitude
eigenvalues"). What I get now, looks a bit like an ordering
considering the sign.
### eigenvalues of A are: -2.77687 -1.50582 -0.0370092 0.848378
However, I would expect
### eigenvalues of A are: -2.77687 -1.505820.848378 -0.0370092