diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-07-06 17:24:11 +0200 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-07-06 17:24:11 +0200 |
commit | 889726bf7cf82b30e4a7140f467a175bab1dca2d (patch) | |
tree | 3a3e70d002238af3ebcf12ab3d157df5f2cddb4d /Eigen | |
parent | e057beee4ee682f3128d36c74f3aa57fc9ce148e (diff) |
add matrixQR() method exposing the storage. that's where the householder thing impacts the API.
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/QR/QR.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<typename MatrixType> class HouseholderQR void solve(const MatrixBase<OtherDerived>& 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); |