add matrixQR() method exposing the storage. that's where the householder thing impacts the API.

This commit is contained in:
Benoit Jacob 2009-07-06 17:24:11 +02:00
parent e057beee4e
commit 889726bf7c

View File

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