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

A templated representation of a LU-decomposition. More...

#include <FLUMatrix.h>

Collaboration diagram for FLUMatrix< T, N >:
Collaboration graph
[legend]

Public Member Functions

 FLUMatrix (const FMatrix< T, N, N > &M)
 Constructor. More...
 
 FLUMatrix ()
 
 FLUMatrix (const FLUMatrix< T, N > &)
 
 ~FLUMatrix ()
 
FLUMatrix< T, N > & operator= (const FLUMatrix &)
 
void backSubstitute (FVector< T, N > &B) const
 Back substitution. More...
 
template<int M>
void backSubstitute (FMatrix< T, N, M > &MM) const
 Back substitution. More...
 
FMatrix< T, N, N > 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

FMatrix< T, N, N > decomp
 
FArray1D< int, N > index
 

Detailed Description

template<class T, int N>
class FLUMatrix< T, N >

A templated representation of a LU-decomposition.

Definition at line 42 of file FLUMatrix.h.

Constructor & Destructor Documentation

template<class T , int N>
FLUMatrix< T, N >::FLUMatrix ( const FMatrix< T, N, N > &  M)
explicit

Constructor.

Definition at line 101 of file FLUMatrix.h.

References abs(), FLUMatrix< T, N >::decomp, FLUMatrix< T, N >::index, FArray2D< T, M, N >::swapRows(), and T.

Here is the call graph for this function:

template<class T , int N>
FLUMatrix< T, N >::FLUMatrix ( )

Definition at line 89 of file FLUMatrix.h.

template<class T , int N>
FLUMatrix< T, N >::FLUMatrix ( const FLUMatrix< T, N > &  rhs)

Definition at line 95 of file FLUMatrix.h.

template<class T , int N>
FLUMatrix< T, N >::~FLUMatrix ( )

Definition at line 167 of file FLUMatrix.h.

Member Function Documentation

template<class T , int N>
void FLUMatrix< T, N >::backSubstitute ( FVector< T, N > &  B) const
template<class T , int N>
template<int M>
void FLUMatrix< T, N >::backSubstitute ( FMatrix< T, N, M > &  MM) const

Back substitution.

Definition at line 228 of file FLUMatrix.h.

References FArray2D< T, R, C >::col_begin().

Here is the call graph for this function:

template<class T, int N>
template<class Iterator >
void FLUMatrix< T, N >::backSubstitute ( Iterator  ) const
private
template<class T, int N>
template<class I>
void FLUMatrix< T, N >::backSubstitute ( iter) const
inline

Definition at line 180 of file FLUMatrix.h.

References sum(), and T.

Here is the call graph for this function:

template<class T , int N>
FMatrix< T, N, N > FLUMatrix< T, N >::inverse ( ) const
template<class T , int N>
FLUMatrix< T, N > & FLUMatrix< T, N >::operator= ( const FLUMatrix< T, N > &  rhs)

Definition at line 172 of file FLUMatrix.h.

References FLUMatrix< T, N >::decomp, and FLUMatrix< T, N >::index.

Member Data Documentation

template<class T, int N>
FMatrix<T, N, N> FLUMatrix< T, N >::decomp
private

Definition at line 78 of file FLUMatrix.h.

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

template<class T, int N>
FArray1D<int, N> FLUMatrix< T, N >::index
private

Definition at line 81 of file FLUMatrix.h.

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


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