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

#include <matharrayldlt.hpp>

Collaboration diagram for tngmath::LDLTBase< 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

bool IsNegative () const
 returns if the matrix is negative (semi)definite
bool IsPositive () const
 returns if the matrix is positive (semi)definite
Eigen::LDLT< Base > & ldlt ()
 returns the lu object this class refers to
const Eigen::LDLT< Base > & ldlt () const
 returns the lu object this class refers to
 LDLTBase ()
 a default constructor used for SWIG - it should never be called when using this object, else one will cause a segfault!
 LDLTBase (MatrixType &_object)
 constructor
MatrixType MatrixL () const
 returns the matrix L (check before, if it is invertible)
Base & object ()
 returns the matrix object this class refers to
const Base & object () const
 returns the matrix object this class refers to
MatrixType Solve (const MathArrayBase< TScalar > &n) const
 returns this->inverse*n
void SolveInPlace (MathArrayBase< TScalar > &n) const
 solves a = this->inverse*n which will be computed in place, that is n := a afterwards.
MatrixType VectorD () const
 returns the matrix D as a vector (check before, if it is invertible)
virtual ~LDLTBase ()
 destructor

Protected Attributes

Eigen::LDLT< Base > m_ldlt
 the LU object
Base * m_object
 the matrix object this class is operating on


Detailed Description

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

provides a LDL' 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