OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LUMatrix< T > Class Template Reference

Triangle decomposition of a matrix. More...

#include <LUMatrix.h>

Collaboration diagram for LUMatrix< T >:
Collaboration graph
[legend]

Public Member Functions

 LUMatrix (const Matrix< T > &m)
 Constructor. More...
 
 LUMatrix ()
 
 LUMatrix (const LUMatrix< T > &)
 
 ~LUMatrix ()
 
LUMatrix< T > & operator= (const LUMatrix< T > &)
 
void backSubstitute (Vector< T > &B) const
 Back substitution. More...
 
void backSubstitute (Matrix< T > &M) const
 Back substitution. More...
 
Matrix< Tinverse () const
 Get inverse. More...
 
template<class I >
void backSubstitute (I iter) const
 

Private Member Functions

template<class Iterator >
void backSubstitute (Iterator) const
 

Private Attributes

Matrix< Tdecomp
 
Array1D< int > index
 

Detailed Description

template<class T>
class LUMatrix< T >

Triangle decomposition of a matrix.

Definition at line 44 of file LUMatrix.h.

Constructor & Destructor Documentation

template<class T >
LUMatrix< T >::LUMatrix ( const Matrix< T > &  m)
explicit

Constructor.

Definition at line 101 of file LUMatrix.h.

References abs(), LUMatrix< T >::decomp, LUMatrix< T >::index, Array2D< T >::ncols(), nr, Array2D< T >::nrows(), and T.

Here is the call graph for this function:

template<class T >
LUMatrix< T >::LUMatrix ( )

Definition at line 89 of file LUMatrix.h.

template<class T >
LUMatrix< T >::LUMatrix ( const LUMatrix< T > &  rhs)

Definition at line 95 of file LUMatrix.h.

template<class T >
LUMatrix< T >::~LUMatrix ( )

Definition at line 172 of file LUMatrix.h.

Member Function Documentation

template<class T >
void LUMatrix< T >::backSubstitute ( Vector< T > &  B) const

Back substitution.

Definition at line 229 of file LUMatrix.h.

References Array1D< T >::begin(), and Array1D< T >::size().

Referenced by DynamicFixedPoint::DynamicFixedPoint(), and StaticFixedPoint::StaticFixedPoint().

Here is the call graph for this function:

template<class T >
void LUMatrix< T >::backSubstitute ( Matrix< T > &  M) const

Back substitution.

Definition at line 239 of file LUMatrix.h.

References Array2D< T >::col_begin(), Array2D< T >::ncols(), and Array2D< T >::nrows().

Here is the call graph for this function:

template<class T>
template<class Iterator >
void LUMatrix< T >::backSubstitute ( Iterator  ) const
private
template<class T>
template<class I >
void LUMatrix< T >::backSubstitute ( iter) const
inline

Definition at line 185 of file LUMatrix.h.

References nr, sum(), and T.

Here is the call graph for this function:

template<class T >
Matrix< T > LUMatrix< T >::inverse ( ) const

Get inverse.

Definition at line 251 of file LUMatrix.h.

References nr, and Attrib::Distribution::R.

Referenced by VpsInvMap< T >::inverse().

template<class T >
LUMatrix< T > & LUMatrix< T >::operator= ( const LUMatrix< T > &  rhs)

Definition at line 177 of file LUMatrix.h.

References LUMatrix< T >::decomp, and LUMatrix< T >::index.

Member Data Documentation

template<class T>
Matrix<T> LUMatrix< T >::decomp
private

Definition at line 78 of file LUMatrix.h.

Referenced by LUMatrix< T >::LUMatrix(), and LUMatrix< T >::operator=().

template<class T>
Array1D<int> LUMatrix< T >::index
private

Definition at line 81 of file LUMatrix.h.

Referenced by LUMatrix< T >::LUMatrix(), and LUMatrix< T >::operator=().


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