Registered Member
|
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 |
Moderator
|
The matrix Q is not explicitly computed. To get he matrix R:
R = A.householderQR().matrixQR().triangularView<Upper>(); |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell