tmath::MatrixLU Class Reference

LU decomposition. More...

#include <matrix_lu.hpp>

Collaboration diagram for tmath::MatrixLU:

Collaboration graph
[legend]

List of all members.

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
Matrixobject ()
 returns the matrix object this class refers to
const Matrixobject () const
 returns the matrix object this class refers to

Protected Attributes

Eigen::LU< Base > m_lu
 the solver object
Matrixm_object
 the matrix object this class is operating on


Detailed Description

LU decomposition.

This class provides a LU decomposition for nonsingular matrices. At construction, it factorizes the given matrix and stores L and U matrices.


The documentation for this class was generated from the following file:

Generated on Wed Nov 17 17:36:01 2010 for 'tmath' Module Programming Interface by  doxygen 1.5.6