OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
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< T > inverse () 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< T > decomp
 
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

◆ LUMatrix() [1/3]

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 Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ LUMatrix() [2/3]

template<class T >
LUMatrix< T >::LUMatrix

Definition at line 89 of file LUMatrix.h.

◆ LUMatrix() [3/3]

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

Definition at line 95 of file LUMatrix.h.

◆ ~LUMatrix()

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

Definition at line 172 of file LUMatrix.h.

Member Function Documentation

◆ backSubstitute() [1/4]

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 Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ backSubstitute() [2/4]

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

◆ backSubstitute() [3/4]

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:

◆ backSubstitute() [4/4]

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().

Here is the call graph for this function:

◆ inverse()

template<class T >
Matrix< T > LUMatrix< T >::inverse

Get inverse.

Definition at line 251 of file LUMatrix.h.

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

◆ operator=()

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

◆ decomp

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=().

◆ index

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: