SimpleMatrix< NT, N, M > Class Template Reference#

DiFfRG: DiFfRG::SimpleMatrix< NT, N, M > Class Template Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::SimpleMatrix< NT, N, M > Class Template Reference

A simple NxM-matrix class, which is used for cell-wise Jacobians. More...

#include <tuples.hh>

Public Member Functions

 SimpleMatrix ()
 
NToperator() (const uint n, const uint m)
 Access the matrix entry at (n,m).
 
const NToperator() (const uint n, const uint m) const
 Access the matrix entry at (n,m).
 
void clear ()
 Set all entries to zero.
 
bool is_finite () const
 
void print () const
 Print the matrix to the console.
 

Private Attributes

std::array< NT, N *Mdata
 

Detailed Description

template<typename NT, uint N, uint M = N>
class DiFfRG::SimpleMatrix< NT, N, M >

A simple NxM-matrix class, which is used for cell-wise Jacobians.

Constructor & Destructor Documentation

◆ SimpleMatrix()

template<typename NT , uint N, uint M = N>
DiFfRG::SimpleMatrix< NT, N, M >::SimpleMatrix ( )
inline

Member Function Documentation

◆ clear()

template<typename NT , uint N, uint M = N>
void DiFfRG::SimpleMatrix< NT, N, M >::clear ( )
inline

Set all entries to zero.

◆ is_finite()

template<typename NT , uint N, uint M = N>
bool DiFfRG::SimpleMatrix< NT, N, M >::is_finite ( ) const
inline

◆ operator()() [1/2]

template<typename NT , uint N, uint M = N>
NT & DiFfRG::SimpleMatrix< NT, N, M >::operator() ( const uint  n,
const uint  m 
)
inline

Access the matrix entry at (n,m).

◆ operator()() [2/2]

template<typename NT , uint N, uint M = N>
const NT & DiFfRG::SimpleMatrix< NT, N, M >::operator() ( const uint  n,
const uint  m 
) const
inline

Access the matrix entry at (n,m).

◆ print()

template<typename NT , uint N, uint M = N>
void DiFfRG::SimpleMatrix< NT, N, M >::print ( ) const
inline

Print the matrix to the console.

Member Data Documentation

◆ data

template<typename NT , uint N, uint M = N>
std::array<NT, N * M> DiFfRG::SimpleMatrix< NT, N, M >::data
private

The documentation for this class was generated from the following file:
  • /__w/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/tuples.hh