From 889726bf7cf82b30e4a7140f467a175bab1dca2d Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 6 Jul 2009 17:24:11 +0200 Subject: [PATCH] add matrixQR() method exposing the storage. that's where the householder thing impacts the API. --- Eigen/src/QR/QR.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Eigen/src/QR/QR.h b/Eigen/src/QR/QR.h index a83ec5ec8..c5e8f9097 100644 --- a/Eigen/src/QR/QR.h +++ b/Eigen/src/QR/QR.h @@ -95,6 +95,11 @@ template class HouseholderQR void solve(const MatrixBase& b, ResultType *result) const; MatrixType matrixQ(void) const; + + /** \returns a reference to the matrix where the Householder QR decomposition is stored + * in a LAPACK-compatible way. + */ + const MatrixType& matrixQR() const { return m_qr; } void compute(const MatrixType& matrix);