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

#include <matharrayqr.hpp>

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef int TIndex
typedef Scalar TScalar

Public Member Functions

MatrixType MatrixQ () const
 returns matrix Q
MatrixType MatrixR () const
 returns matrix R
Base & object ()
 returns the matrix object this class refers to
const Base & object () const
 returns the matrix object this class refers to
TSolver & qr ()
 returns the lu object this class refers to
const TSolver & qr () const
 returns the lu object this class refers to
 QRBase ()
 a default constructor used for SWIG - it should never be called when using this object, else one will cause a segfault!
 QRBase (MatrixType &_object)
 constructor
MatrixType Solve (const MathArrayBase< TScalar > &n) const
 returns this->inverse*n using a temporary LU decomposition which will be computed in place
virtual ~QRBase ()
 destructor

Protected Types

typedef Eigen::Matrix< Scalar,
Eigen::Dynamic, Eigen::Dynamic,
Eigen::ColMajor > 
Base
typedef Eigen::QR< Base > TSolver

Protected Attributes

Base * m_object
 the matrix object this class is operating on
TSolver m_qr
 the LU object


Detailed Description

template<typename MatrixType, typename Scalar>
class tngmath::QRBase< 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