Re: [eigen] Fast QR for 2x2, 3x3 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Fast QR for 2x2, 3x3
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 23 Feb 2009 00:05: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 :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+/fO7Kc9DjB7p4fYpLS6HzGEVKqlY15lg9ufZv9FMCE=; b=BXPgruOoO1RTzaM82KVciuEZCPgXW2U7CbrK86W6XyN786yIf2vprJk8Aq0N+4aP9/ ZoFlZXE9pV4mNI1J+3CGjOh33eolJ1rzJXl5FYyyWnfqIHWcizewboUWdmRNE8HpBsa/ H9hkmd42d79OzsrgnMxmciyfUJgBC1BZqsxC0=
- 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:content-transfer-encoding; b=fryZP53qP5x2ocix3k7KjZEfbbYZVWw+FWB9QxjY/1n5pNuuZOjjrIV8DkGFVzcr+9 ZPhjaajq0TB2nzjQd6vHBxulll6Xx7Dk/+/IwbHv8gstmPDZj7+UOoeKQuMKGBu1+wM6 MUS5SH8SO3raWy24FslzblcZh0kBZPOrmy+dg=
Hi,
It would be very useful to have fixed-size specializations of QR for
2x2 and 3x3. You're very welcome to help us with that, and for that
matter you can submit us the code in any format, it'll be easy to
integrate in Eigen.
I can't tell what's going to be faster, Givens or Householder or
something else. All I can say for sure is that Givens rotations don't
require computing cosines and sines!
Here you can find a copy of Golub & van Loan: download.tuxfamily.org/eigen
Cheers,
Benoit
2009/2/22 Andrea Arteaga <yo.eres@xxxxxxxxx>:
> Hi.
> I'm Andrea Arteaga and I'm student of Computing Science and Engeneering at
> ETH
> Zurich.
> I read this in the todo-page
> (http://eigen.tuxfamily.org/index.php?title=Todo#QR_module):
>
> implement efficient QR decomposition for 2x2 and 3x3 matrix with optional
> computation of R (maybe using Gram-Schmitd instead of Householder
> transformations ?)
>
> I thought that Givens Rotations
> (http://en.wikipedia.org/wiki/Givens_rotation) are perfect for that: the
> computation of a givens-matrix requires only (execution of sin()) +
> (execution of cos()) operations; the product between two 2x2 matrices
> requires only 8 operations and maybe less than that.
> If you need it, I can help a little bit, QR is one of my preferred topics!
>
> [I'm sorry for my bad english, I live in Switzerland and I never studied
> well english...]
>
>