#include <matrix_llt.hpp>
Public Types | |
typedef Eigen::Matrix< TScalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | Base |
typedef int | TIndex |
typedef double | TScalar |
Public Member Functions | |
bool | IsPositive () const |
returns if the matrix is positive (semi)definite | |
Matrix | MatrixL () const |
returns the matrix L (check before, if it is invertible!) | |
MatrixLLt (const Matrix &_object) | |
constructor | |
Matrix | Solve (const Matrix &n) const |
returns this->inverse*n | |
void | SolveInPlace (Matrix &n) const |
solves a = this->inverse*n which will be computed in place, that is n := a afterwards. | |
virtual | ~MatrixLLt () |
destructor | |
Protected Member Functions | |
Eigen::LLT< Base > & | llt () |
returns the solver object this class refers to | |
const Eigen::LLT< Base > & | llt () const |
returns the solver 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::LLT< Base > | m_llt |
the solver object | |
Matrix * | m_object |
the matrix object this class is operating on |
This class provides an LL' decomposition. At construction, it factorizes the given matrix and stores L matrix.