#include <matrix_qr.hpp>
Public Types | |
typedef Eigen::Matrix< TScalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | Base |
typedef int | TIndex |
typedef double | TScalar |
Public Member Functions | |
Matrix | MatrixQ () const |
returns matrix Q | |
MatrixQR (const Matrix &_object) | |
constructor | |
Matrix | MatrixR () const |
returns matrix R | |
Matrix | Solve (const Matrix &n) const |
returns this->inverse*n using a temporary LU decomposition which will be computed in place | |
virtual | ~MatrixQR () |
destructor | |
Protected Types | |
typedef Eigen::QR< Base > | TSolver |
Protected Member Functions | |
Matrix & | object () |
returns the matrix object this class refers to | |
const Matrix & | object () const |
returns the matrix object this class refers to | |
TSolver & | qr () |
returns the lu object this class refers to | |
const TSolver & | qr () const |
returns the lu object this class refers to | |
Protected Attributes | |
Matrix * | m_object |
the matrix object this class is operating on | |
TSolver | m_qr |
the solver object |
This class provides a QR decomposition for nonsingular matrices. At construction, it factorizes the given matrix and stores Q and R matrices.