TBCI::Symm_BdMatrix< T > Class Template Reference

Matrix class with optimized Matrix-Vector multiplication for symmetrical Matrices. More...

#include <symm_bdmatrix.h>

Inheritance diagram for TBCI::Symm_BdMatrix< T >:

Inheritance graph
[legend]
Collaboration diagram for TBCI::Symm_BdMatrix< T >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef T value_type
typedef T element_type
typedef T aligned_value_type

Public Member Functions

 Symm_BdMatrix ()
 Symm_BdMatrix (const unsigned int N)
 Symm_BdMatrix (const T &val, const unsigned int N)
 Symm_BdMatrix (const T &val, const unsigned int N, const BVector< unsigned int > &diagConf)
void resize (const T &, const unsigned int)
void resize (const unsigned int newDim)
void resize (const T &, const unsigned int N, const BVector< unsigned int > &)
 ~Symm_BdMatrix ()
const char * mat_info () const
const T & operator() (const unsigned int i, const unsigned int k) const
const T & get (const unsigned int i, const unsigned int k) const
T & setval (const unsigned int i, const unsigned int k)
void setval (const T &wert, const unsigned int i, const unsigned int k)
void autoinsert (const T &wert, const unsigned int i, const unsigned int k)
TVector< T > operator* (const Vector< T > &) const
unsigned int rows () const
unsigned int columns () const
void clear ()

Protected Member Functions

void construct (const unsigned int N, const T &, T *&, const BVector< unsigned int > &, BVector< T * > &, BVector< unsigned int > &)
void create (const T &val, const unsigned int N)
void create (const T &val, const unsigned int N, const BVector< unsigned int > &)
void destroy ()

Protected Attributes

zero
T * elementPtr
unsigned int dimension
BVector< T * > rowPtr
BVector< unsigned int > rowOccupation
BVector< unsigned int > conf

Friends

class ILU0_Symm_BdMatrixPreconditioner< T >
std::ostream & operator<< (std::ostream &, const Symm_BdMatrix< T > &)


Detailed Description

template<typename T>
class TBCI::Symm_BdMatrix< T >

Matrix class with optimized Matrix-Vector multiplication for symmetrical Matrices.

Definition at line 46 of file symm_bdmatrix.h.


Member Typedef Documentation

template<typename T>
typedef T TBCI::Symm_BdMatrix< T >::value_type

Definition at line 102 of file symm_bdmatrix.h.

template<typename T>
typedef T TBCI::Symm_BdMatrix< T >::element_type

Definition at line 103 of file symm_bdmatrix.h.

template<typename T>
typedef T TBCI::Symm_BdMatrix< T >::aligned_value_type

Definition at line 104 of file symm_bdmatrix.h.


Constructor & Destructor Documentation

template<typename T>
TBCI::Symm_BdMatrix< T >::Symm_BdMatrix (  )  [inline]

Definition at line 67 of file symm_bdmatrix.h.

References T.

template<typename T>
TBCI::Symm_BdMatrix< T >::Symm_BdMatrix ( const unsigned int  N  )  [inline]

Definition at line 68 of file symm_bdmatrix.h.

References T.

template<typename T>
TBCI::Symm_BdMatrix< T >::Symm_BdMatrix ( const T &  val,
const unsigned int  N 
) [inline]

Definition at line 69 of file symm_bdmatrix.h.

template<typename T>
TBCI::Symm_BdMatrix< T >::Symm_BdMatrix ( const T &  val,
const unsigned int  N,
const BVector< unsigned int > &  diagConf 
) [inline]

Definition at line 70 of file symm_bdmatrix.h.

template<typename T>
TBCI::Symm_BdMatrix< T >::~Symm_BdMatrix (  )  [inline]

Definition at line 78 of file symm_bdmatrix.h.


Member Function Documentation

template<typename T>
void TBCI::Symm_BdMatrix< T >::construct ( const unsigned int  N,
const T &  value,
T *&  elemPtr,
const BVector< unsigned int > &  ConfVector,
BVector< T * > &  rPtr,
BVector< unsigned int > &  rowOccup 
) [inline, protected]

template<typename T>
void TBCI::Symm_BdMatrix< T >::create ( const T &  val,
const unsigned int  N 
) [inline, protected]

template<typename T>
void TBCI::Symm_BdMatrix< T >::create ( const T &  val,
const unsigned int  N,
const BVector< unsigned int > &  configVector 
) [inline, protected]

template<typename T>
void TBCI::Symm_BdMatrix< T >::destroy (  )  [inline, protected]

Definition at line 251 of file symm_bdmatrix.h.

References TBCI::Symm_BdMatrix< T >::elementPtr.

Referenced by TBCI::Symm_BdMatrix< T >::resize().

template<typename T>
void TBCI::Symm_BdMatrix< T >::resize ( const T &  val,
const unsigned int  N 
) [inline]

template<typename T>
void TBCI::Symm_BdMatrix< T >::resize ( const unsigned int  newDim  )  [inline]

Definition at line 75 of file symm_bdmatrix.h.

template<typename T>
void TBCI::Symm_BdMatrix< T >::resize ( const T &  val,
const unsigned int  N,
const BVector< unsigned int > &  Diagconf 
) [inline]

template<typename T>
const char* TBCI::Symm_BdMatrix< T >::mat_info (  )  const [inline]

Definition at line 81 of file symm_bdmatrix.h.

template<typename T>
const T & TBCI::Symm_BdMatrix< T >::operator() ( const unsigned int  i,
const unsigned int  k 
) const [inline]

template<typename T>
const T& TBCI::Symm_BdMatrix< T >::get ( const unsigned int  i,
const unsigned int  k 
) const [inline]

Definition at line 85 of file symm_bdmatrix.h.

template<typename T>
T & TBCI::Symm_BdMatrix< T >::setval ( const unsigned int  i,
const unsigned int  k 
) [inline]

template<typename T>
void TBCI::Symm_BdMatrix< T >::setval ( const T &  wert,
const unsigned int  i,
const unsigned int  k 
) [inline]

Definition at line 89 of file symm_bdmatrix.h.

template<typename T>
void TBCI::Symm_BdMatrix< T >::autoinsert ( const T &  wert,
const unsigned int  i,
const unsigned int  k 
) [inline]

Definition at line 91 of file symm_bdmatrix.h.

template<typename T>
TVector< T > TBCI::Symm_BdMatrix< T >::operator* ( const Vector< T > &  Vector  )  const [inline]

template<typename T>
unsigned int TBCI::Symm_BdMatrix< T >::rows (  )  const [inline]

Reimplemented from TBCI::Matrix_Sig< T >.

Definition at line 98 of file symm_bdmatrix.h.

template<typename T>
unsigned int TBCI::Symm_BdMatrix< T >::columns (  )  const [inline]

Reimplemented from TBCI::Matrix_Sig< T >.

Definition at line 99 of file symm_bdmatrix.h.

template<typename T>
void TBCI::Symm_BdMatrix< T >::clear (  )  [inline]


Friends And Related Function Documentation

template<typename T>
friend class ILU0_Symm_BdMatrixPreconditioner< T > [friend]

Definition at line 48 of file symm_bdmatrix.h.

template<typename T>
std:: ostream& operator<< ( std::ostream &  out,
const Symm_BdMatrix< T > &  matrix 
) [friend]

Definition at line 386 of file symm_bdmatrix.h.


Member Data Documentation

template<typename T>
T TBCI::Symm_BdMatrix< T >::zero [protected]

template<typename T>
T* TBCI::Symm_BdMatrix< T >::elementPtr [protected]

template<typename T>
unsigned int TBCI::Symm_BdMatrix< T >::dimension [protected]

template<typename T>
BVector<T*> TBCI::Symm_BdMatrix< T >::rowPtr [protected]

template<typename T>
BVector<unsigned int> TBCI::Symm_BdMatrix< T >::rowOccupation [protected]

template<typename T>
BVector<unsigned int> TBCI::Symm_BdMatrix< T >::conf [protected]


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

Generated on Wed Nov 20 09:29:40 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6