Re: [eigen] ordering of eigenvalues of EigenSolver |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] ordering of eigenvalues of EigenSolver
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 8 Feb 2011 11:51:09 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=gv7uth2q+HH+m5TWiToIPpg6Kndfz2HmpNEXD/wnspI=; b=mN4d6CKEiVuE1RrAhhJQTOI1n5PnG4XZSBKwjKVIDiQD0WgtKy8TCj+R2pamqvdXwA e4naaKDMuViGSS9pNplZwySleMeVSAtwHI8xd5mHSfUKWvxpPmt1fv+xxf2fFknHNQcl RI41fO7HNrrE9ZtxH6MQa6SANFy1UTv2p1YUM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Tz6nKMe72ibKYLDyPYA1//Me8ZZDF6+xAJuAFI1DyzqpbnEv+tFaZd4Geu/Coz5izB 66XbwR/+Gp0RHhBLBkhlOek0HXt6HE/I0ITvZsXChmn2QbmJM4dMNTKdpgvWLNXDAgbA Rexau8p8+DHo6l//NnzeLGnU1vXdh8Sxd7f3s=
2011/2/8 Milian Wolff <mail@xxxxxxxxxx>:
> Susanne Suter, 08.02.2011:
>> Hi
>>
>> Sorry, I accidently hit the "send button" too early. Here my complete
>> messge again.
>>
>> 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.
>
> as I was teached: the ordering of eigen values is totally arbitrary and
> depends on the implemented algorithm. Meaning: You have to sort them to your
> expectations.
For decompositions that produce real values, such as
SelfAdjointEigenSolver and SVD, we definitely want to order
eigenvalues in decreasing order. Not doing that would be a bug.
For decompositions that do not produce real values, such as
EigenSolver, there is no 'natural' order so there's nothing useful for
us to do.
Sorry, no time to check now what we are actually doing.
Benoit
>
> bye
> --
> Milian Wolff
> mail@xxxxxxxxxx
> http://milianw.de
>