#include <matrix_lu.hpp>

Public Types | |
|
typedef Eigen::Matrix< TScalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | Base |
| typedef int | TIndex |
| typedef double | TScalar |
Public Member Functions | |
| TScalar | Determinant () const |
| returns the determinant | |
| Matrix | Inverse () const |
| returns the inverse (check before, if it is invertible) | |
| bool | IsInvertible () const |
| returns if the matrix is invertible | |
| MatrixLU (const Matrix &_object) | |
| constructor | |
| TIndex | Rank () const |
| returns the rank of the matrix | |
| Matrix | Solve (const Matrix &n) const |
| returns this->inverse*n using a temporary LU decomposition which will be computed in place | |
| virtual | ~MatrixLU () |
| destructor | |
Protected Member Functions | |
| Eigen::LU< Base > & | lu () |
| returns the lu object this class refers to | |
| const Eigen::LU< Base > & | lu () const |
| returns the lu object this class refers to | |
| Matrix & | object () |
| returns the matrix object this class refers to | |
| const Matrix & | object () const |
| returns the matrix object this class refers to | |
Protected Attributes | |
| Eigen::LU< Base > | m_lu |
| the solver object | |
| Matrix * | m_object |
| the matrix object this class is operating on | |
This class provides a LU decomposition for nonsingular matrices. At construction, it factorizes the given matrix and stores L and U matrices.
1.5.6