Class documentation of Concepts

Loading...
Searching...
No Matches
aglowav2::M000 Class Reference

#include <element.hh>

Public Member Functions

 M000 (const concepts::Real *m, uint n)
 
 ~M000 ()
 destructor
 
template<class F >
void mult (const Matrix< F > &src, Matrix< F > &dst, uint n=0, uint m=0) const
 
template<class F >
void mult_T (const Matrix< F > &src, Matrix< F > &dst, uint n=0, uint m=0) const
 
template<class F >
void mult_T (const F *src, F *dst, const uint s, const uint t) const
 
const concepts::Realoperator() (uint i, uint j) const
 returns the matrix element $M_{i,j}$
 
uint n () const
 returns the matrix dimension
 

Friends

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

Detailed Description

Local transformation matrix (square matrix, row wise)

Definition at line 127 of file element.hh.

Constructor & Destructor Documentation

◆ M000()

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

Constructor

Parameters
mArray with the matrix entries (row wise)
nDimension of the matrix

◆ ~M000()

aglowav2::M000::~M000 ( )
inline

destructor

Definition at line 137 of file element.hh.

Member Function Documentation

◆ mult()

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 183 of file element.hh.

◆ mult_T() [1/2]

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 328 of file element.hh.

◆ mult_T() [2/2]

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 255 of file element.hh.

◆ n()

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

returns the matrix dimension

Definition at line 173 of file element.hh.

◆ operator()()

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

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

Definition at line 169 of file element.hh.


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