[eigen] Eigenvalue calculation on integer matrices |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Eigenvalue calculation on integer matrices
- From: Felix <felix@xxxxxxxxxxxx>
- Date: Tue, 25 Feb 2014 13:19:17 +0100
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1393330757; l=577; s=domk; d=audiofair.de; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=s7RON9Y54MbgSelyx/Wda9K4gDI=; b=Tbt0OZUofRqH81LxagteorY6CdOG5QAlxtXVYJEgN68mkU/s+7LDiwGv6y73Hq/RU5w 8Ttr8ErAaKPDlK0N4SeKvKAIXFoZrd9VE/7jwLWj0Ly8RqUnuz9LK42I6CDwUfMxaXBzR A49G2cy+Tvug32lOFjKdMs17tfOEK0ncwTM=
Hello,
I noticed big errors when trying to calculate the eigenvalues of Integer
matrices. When using SelfAdjointEigenSolver<MatrixXi> the Eigenvalues
don't match the real ones at all. When calling eigenvalues on MatrixXi I
just get a floating point exception. This probably has to do with
Integer Matrices not having integer Eigenvalues. However there should be
an implicit conversion or an error message the way it is right now if I
hadn't compared the results to the ones from octave I would not have
noticed that anything is wrong at all.
All the best,
Felix