#include <matharraylu.hpp>
Public Types | |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | Base |
typedef int | TIndex |
typedef Scalar | TScalar |
Public Member Functions | |
TScalar | Determinant () const |
returns the determinant | |
MatrixType | Inverse () const |
returns the inverse (check before, if it is invertible) | |
bool | IsInvertible () const |
returns if the matrix is invertible | |
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 | |
LUBase () | |
a default constructor used for SWIG - it should never be called when using this object, else one will cause a segfault! | |
LUBase (MatrixType &_object) | |
constructor | |
Base & | object () |
returns the matrix object this class refers to | |
const Base & | object () const |
returns the matrix object this class refers to | |
TIndex | Rank () const |
returns the rank of the matrix | |
MatrixType | Solve (const MathArrayBase< TScalar > &n) const |
returns this->inverse*n using a temporary LU decomposition which will be computed in place | |
virtual | ~LUBase () |
destructor | |
Protected Attributes | |
Eigen::LU< Base > | m_lu |
the LU object | |
Base * | m_object |
the matrix object this class is operating on |