[eigen] Generalised Eigenvector Problem using the QZ algorithm. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Generalised Eigenvector Problem using the QZ algorithm.
- From: Tim Hutt <tdhutt@xxxxxxxxx>
- Date: Thu, 11 Jun 2009 11:35:18 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=1kRW7TvKFreSHLjsRjO0VhV7yBCjsiZJatP5Omuj9ek=; b=D/7t4ppUNAsCorJFL5LuGJu64TkR0rr3ynjjLqpTto/fKH+VRBXLguFsagV2EJX91j DSUY598duCo4wVIipM0VG0rIrwEwcrdzimE5eYjcnAzzkEYSCaX4ZKy+zbpAFcN4rirr ymhheGVcUdDcwjSeSQsct0VkIWiwYmIHjjL/8=
- 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 :content-type:content-transfer-encoding; b=tdAuimzSacoIKpjuZM05xaFQ4KUn0PXRilh4ZS4AyTtXTQnJzzErXWyJRl6kIZMJSW UuRqK8fg9HaE1gT5FjgseIqWBdnBmIPgNKgWmMc1kcY/r4KJu+fx5Zpc08FmkXomDfw9 zZnyU4Q624HdzJgeIwnZsnYeChxZdyPVxQn0Q=
Hi,
I'm trying to implement the ellipse fitting algorithm from
http://homepages.inf.ed.ac.uk/cgi/rbf/CVONLINE/entries.pl?TAG384
in C++ with eigen2. The algorithm relies on being able to solve the
generalised eigenvector problem:
Ax = lambda Bx
(See: http://www.cs.utk.edu/~dongarra/etemplates/node282.html )
In my case A and B are both rank-deficient so I can't invert them.
Apparently the normal way to solve this is using the QZ algorithm,
which is apparently similar to the QR algorithm.
The LAPACK routine is (I think) DGGEV or DGGEVX (who names these things?)
Any chance anyone could port the LAPACK code (or the CLAPACK code) to
eigen? I could probably do it but I'm guessing there's someone out
there who is familiar with LAPACK's crazy naming scheme and eigen who
could do it a lot faster.
In return I have access to many journals. Papers on request. Or beer
if you live in London. :-)
Tim