tngmath::LUBase< MatrixType, Scalar > Class Template Reference

#include <matharraylu.hpp>

Collaboration diagram for tngmath::LUBase< MatrixType, Scalar >:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

template<typename MatrixType, typename Scalar>
class tngmath::LUBase< MatrixType, Scalar >

provides a LU decomposition. It works on a reference to an existing matrix object. This marix object must exist during the lifetime of the solver object!
The documentation for this class was generated from the following file:

Generated on Wed Nov 17 17:35:51 2010 for 'tngmath' Module Programming Interface by  doxygen 1.5.6