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: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Tue, 22 Feb 2011 08:35:12 +0100
- Cc: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=5UPbXBCyK6EM15IS9r+rKLllJhA8UT3/JXJKQFmrsg8=; b=wod2Te7hyzwFd8doKEMkc2oi2cxiCWCBxsbP2hXhndz/+s5boaXnEc9VLaBdeil3jY AcAJDi6Ady9flhGRGmWX1M76FWPUl4sb8HCvxD5fYVS9mxAOQfhCCmTo35ymSmyf8Z8K GyUKUE43POV1QYPReBwO5VMTBRTCL1avzGy/I=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=xWwILEk5bK/cs6FaSfLrGRREVjuCLCLBXWyZWDn0Ew6kS99F3llGqT9rE2IAwMM8HL Ce6djEfNwAX52DzloIKUG0CMBOyYKSL9R0tEVktQ/lsbyw7f9t8jgyxPvf8vzJOVxJXM l2UxMBqccC6gj4iNtm/25FUO/SdCYX5MtWwY4=
On Tue, Feb 22, 2011 at 1:18 AM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>>
>> Furthermore, other eigenvalue decomposition libraries seem to order
>> eigenvalues, too. E.g., MatLab (based on ARPACK)
>
> Ah, I didn't know about Matlab.
actually MatLab does as us and Lapack do, for instance:
$ eig( diag([1 -1 2 -3 4]))'
ans =
-3 -1 1 2 4
Same for Octave or Scilab.
I don't see any reason to change for a convention that nobody follow
while our current behavior seems to be quite standard.
On the other hand we could allow for sorting capability such that user
can easily sort rows or column as they like.
gael