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

#include <element.hh>

Public Member Functions

 M000 (const concepts::Real *m, uint n)
 Constructor. More...
 
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. More...
 
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). More...
 
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. More...
 
uint n () const
 returns the matrix dimension More...
 
const concepts::Realoperator() (uint i, uint j) const
 returns the matrix element $M_{i,j}$ More...
 
 ~M000 ()
 destructor More...
 

Private Attributes

concepts::Realm_
 matrix entries More...
 
uint n_
 matrix dimension More...
 

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.

Friends And Related Function Documentation

◆ operator<<

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

Member Data Documentation

◆ m_

concepts::Real* aglowav2::M000::m_
private

matrix entries

Definition at line 177 of file element.hh.

◆ n_

uint aglowav2::M000::n_
private

matrix dimension

Definition at line 179 of file element.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich