This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Q less QR decomposition

Tags: None
(comma "," separated)
blubber
Registered Member
Posts
6
Karma
0

Q less QR decomposition

Wed Jun 20, 2012 3:25 pm
Hi,

I want to use Eigen to compute a QR decomposition.

I am only interested in the triangular R matrix, but not the Q matrix.

How can I efficiently compute this R matrix (i.e. a matrix R s.t. A=QR for some orthogonal Q)

Best Blubber
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Q less QR decomposition

Wed Jun 20, 2012 4:22 pm
The matrix Q is not explicitly computed. To get he matrix R:

R = A.householderQR().matrixQR().triangularView<Upper>();


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell