Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes | Friends
aglowav2::M000 Class Reference

Local transformation matrix (square matrix, row wise) More...

#include <element.hh>

List of all members.

Public Member Functions

 M000 (const concepts::Real *m, uint n)
 Constructor.
template<class F >
void mult (const Matrix< F > &src, Matrix< F > &dst, uint n=0, uint m=0) const
 Multiplication of src with a part of $M$ to dst.
template<class F >
void mult_T (const Matrix< F > &src, Matrix< F > &dst, uint n=0, uint m=0) const
 Multiplication of src with a part of $M^\top$ to dst.
template<class F >
void mult_T (const F *src, F *dst, const uint s, const uint t) const
 Multiplication of the $n\times s$ Matrix src with the first $t$ rows of $M^T$ to dst ( $t\times s$ matrix).
uint n () const
 returns the matrix dimension
const concepts::Realoperator() (uint i, uint j) const
 returns the matrix element $M_{i,j}$
 ~M000 ()
 destructor

Private Attributes

concepts::Realm_
 matrix entries
uint n_
 matrix dimension

Friends

std::ostream & operator<< (std::ostream &os, const M000 &m)

Detailed Description

Local transformation matrix (square matrix, row wise)

Definition at line 125 of file element.hh.


Constructor & Destructor Documentation

aglowav2::M000::M000 ( const concepts::Real m,
uint  n 
)

Constructor.

Parameters:
mArray with the matrix entries (row wise)
nDimension of the matrix
aglowav2::M000::~M000 ( ) [inline]

destructor

Definition at line 135 of file element.hh.


Member Function Documentation

template<class F >
void aglowav2::M000::mult ( const Matrix< F > &  src,
Matrix< F > &  dst,
uint  n = 0,
uint  m = 0 
) const

Multiplication of src with a part of $M$ to dst.

Parameters:
srcSource
dstDestination
n,mLower left corner of the submatrix of $M$.

Definition at line 181 of file element.hh.

Here is the call graph for this function:

template<class F >
void aglowav2::M000::mult_T ( const Matrix< F > &  src,
Matrix< F > &  dst,
uint  n = 0,
uint  m = 0 
) const

Multiplication of src with a part of $M^\top$ to dst.

Parameters:
srcSource
dstDestination
n,mLower left corner of the submatrix of $M^\top$.

Definition at line 253 of file element.hh.

Here is the call graph for this function:

template<class F >
void aglowav2::M000::mult_T ( const F *  src,
F *  dst,
const uint  s,
const uint  t 
) const

Multiplication of the $n\times s$ Matrix src with the first $t$ rows of $M^T$ to dst ( $t\times s$ matrix).

src and dst are in row wise format.

Parameters:
src$n\times s$ Matrix
dst$t\times s$ Matrix
snumber of columns of src, dst
tnumber of rows of dst

Definition at line 326 of file element.hh.

uint aglowav2::M000::n ( ) const [inline]

returns the matrix dimension

Definition at line 171 of file element.hh.

const concepts::Real& aglowav2::M000::operator() ( uint  i,
uint  j 
) const [inline]

returns the matrix element $M_{i,j}$

Definition at line 167 of file element.hh.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const M000 m 
) [friend]

Member Data Documentation

matrix entries

Definition at line 175 of file element.hh.

uint aglowav2::M000::n_ [private]

matrix dimension

Definition at line 177 of file element.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)