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);