waves
Basic FE playground
tMatrix< T, rows, cols > Class Template Reference

#include <tMatrix.h>

Public Member Functions

 tMatrix ()
 
T & operator() (int row, int col)
 
tMatrix operator+ (tMatrix rhs)
 
void operator+= (tMatrix rhs)
 
det ()
 
tMatrix inv ()
 
tMatrix operator* (tMatrix rhs)
 
tVector< T, rows > operator* (tVector< T, cols > rhs)
 
template<class U >
tVector< typename Sacado::Promote< T, U >::type, rows > operator* (tVector< U, cols > rhs)
 
void print ()
 
void clean ()
 

Private Member Functions

int getRows ()
 
int getCols ()
 

Private Attributes

data [rows *cols]
 
int numRows = rows
 
int numCols = cols
 

Constructor & Destructor Documentation

◆ tMatrix()

template<class T , int rows, int cols>
tMatrix< T, rows, cols >::tMatrix ( )
inline

Member Function Documentation

◆ clean()

template<class T , int rows, int cols>
void tMatrix< T, rows, cols >::clean ( )
inline

◆ det()

template<class T , int rows, int cols>
T tMatrix< T, rows, cols >::det

◆ getCols()

template<class T , int rows, int cols>
int tMatrix< T, rows, cols >::getCols ( )
inlineprivate

◆ getRows()

template<class T , int rows, int cols>
int tMatrix< T, rows, cols >::getRows ( )
inlineprivate

◆ inv()

template<class T , int rows, int cols>
tMatrix< T, rows, cols > tMatrix< T, rows, cols >::inv

◆ operator()()

template<class T , int rows, int cols>
T & tMatrix< T, rows, cols >::operator() ( int  row,
int  col 
)

◆ operator*() [1/3]

template<class T , int rows, int cols>
tMatrix< T, rows, cols > tMatrix< T, rows, cols >::operator* ( tMatrix< T, rows, cols >  rhs)

◆ operator*() [2/3]

template<class T , int rows, int cols>
tVector< T, rows > tMatrix< T, rows, cols >::operator* ( tVector< T, cols >  rhs)

◆ operator*() [3/3]

template<class T , int rows, int cols>
template<class U >
tVector< typename Sacado::Promote< T, U >::type, rows > tMatrix< T, rows, cols >::operator* ( tVector< U, cols >  rhs)

◆ operator+()

template<class T , int rows, int cols>
tMatrix< T, rows, cols > tMatrix< T, rows, cols >::operator+ ( tMatrix< T, rows, cols >  rhs)

◆ operator+=()

template<class T , int rows, int cols>
void tMatrix< T, rows, cols >::operator+= ( tMatrix< T, rows, cols >  rhs)

◆ print()

template<class T , int rows, int cols>
void tMatrix< T, rows, cols >::print

Member Data Documentation

◆ data

template<class T , int rows, int cols>
T tMatrix< T, rows, cols >::data[rows *cols]
private

◆ numCols

template<class T , int rows, int cols>
int tMatrix< T, rows, cols >::numCols = cols
private

◆ numRows

template<class T , int rows, int cols>
int tMatrix< T, rows, cols >::numRows = rows
private

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