[eigen] Bug in SelfAdjointEigenSolver<>, or am I missing something important? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Bug in SelfAdjointEigenSolver<>, or am I missing something important?
- From: Jose Luis Blanco <joseluisblancoc@xxxxxxxxx>
- Date: Thu, 4 Nov 2010 01:15:57 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=tufc9mtuqHSDgth4WkY0teFivNWN3BVBQYV2H+jlPiY=; b=CKdXA28tJ/oioygWO1WDjNxQdVUUgCqkuJ51hi6Iucs8q0GkGqLr2HfzddVg4AmbY6 dEkWTInWe0wkKb8rEgpOG9Hs0LIpiybcDNL5d6ybV2mR5NOUXWHSUn8oLMgmTXUMw0Uq iXkbUueIKGnsMMumSyLsjUZMxSYLYsiW3iAms=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HvORrfnjKACq7ADlbO2k+LsuKa9Z02o+SpaqGt8BesYhyxcRHp6mtcBvaOwLSGeGTD H69uOsvYQhJooedTW33X8Bx3onx9bbe7EkcYU3F8hxdFZVG2bXSC503S9o7Syb79deKw cBVqWQUspA0cpFG5Mi/vj/oYAfK/uIWVkA7fw=
Hello all,
I attach a little test program. It basically takes a square symmetric
matrix and computes its eigen{vectors,values} with
SelfAdjointEigenSolver<>, then reconstruct the original matrix with
EVEC * diag(EVALS) * EVEC^T.
The point is, that works for a ColMajor ordering, but not with a
RowMajor, so, for these two tests:
myTest< Eigen::Matrix<double,4,4,ColMajor> >();
myTest< Eigen::Matrix<double,4,4,RowMajor> >();
it fails in the latter.