Flow123d  release_3.0.0-1152-gdb4be9b
Public Member Functions | Private Types | Private Attributes | List of all members
Armor::Mat< Type, nRows, nCols > Class Template Reference

#include <armor.hh>

Public Member Functions

 Mat ()
 
 Mat (std::initializer_list< std::initializer_list< Type >> list)
 
 Mat (std::initializer_list< Type > list)
 
 Mat (const Armor::Mat< Type, nRows, nCols > &other)
 
 Mat (const ArmaType &other)
 
const Type * begin () const
 
Type * begin ()
 
const Type * end () const
 
Type * end ()
 
uint size () const
 
Type * memptr ()
 
const Type & operator[] (uint index) const
 
Type & operator[] (uint index)
 
const Type & operator() (uint row, uint col) const
 
Type & operator() (uint row, uint col)
 
ArmaType arma () const
 
const Mat< Type, nRows, nCols > & operator= (const Mat< Type, nRows, nCols > &other)
 
const Mat< Type, nRows, nCols > & operator= (const ArmaType &other)
 
const Mat< Type, nRows, nCols > & operator= (std::initializer_list< std::initializer_list< Type >> list)
 
const Mat< Type, nRows, nCols > & operator= (std::initializer_list< Type > list)
 
bool operator== (const ArmaType &other)
 
bool operator== (const Mat< Type, nRows, nCols > &other)
 

Private Types

typedef arma::Mat< Type >::template fixed< nRows, nCols > ArmaType
 

Private Attributes

std::array< std::array< Type, nRows >, nCols > data
 

Detailed Description

template<class Type, uint nRows, uint nCols>
class Armor::Mat< Type, nRows, nCols >

Definition at line 9 of file armor.hh.

Member Typedef Documentation

template<class Type, uint nRows, uint nCols>
typedef arma::Mat<Type>::template fixed<nRows,nCols> Armor::Mat< Type, nRows, nCols >::ArmaType
private

Definition at line 13 of file armor.hh.

Constructor & Destructor Documentation

template<class Type, uint nRows, uint nCols>
Armor::Mat< Type, nRows, nCols >::Mat ( )
inline

Definition at line 15 of file armor.hh.

template<class Type, uint nRows, uint nCols>
Armor::Mat< Type, nRows, nCols >::Mat ( std::initializer_list< std::initializer_list< Type >>  list)
inline

Definition at line 20 of file armor.hh.

template<class Type, uint nRows, uint nCols>
Armor::Mat< Type, nRows, nCols >::Mat ( std::initializer_list< Type >  list)
inline

Definition at line 30 of file armor.hh.

template<class Type, uint nRows, uint nCols>
Armor::Mat< Type, nRows, nCols >::Mat ( const Armor::Mat< Type, nRows, nCols > &  other)
inline

Definition at line 36 of file armor.hh.

template<class Type, uint nRows, uint nCols>
Armor::Mat< Type, nRows, nCols >::Mat ( const ArmaType other)
inline

Definition at line 41 of file armor.hh.

Member Function Documentation

template<class Type, uint nRows, uint nCols>
ArmaType Armor::Mat< Type, nRows, nCols >::arma ( ) const
inline

Definition at line 76 of file armor.hh.

Here is the caller graph for this function:

template<class Type, uint nRows, uint nCols>
const Type* Armor::Mat< Type, nRows, nCols >::begin ( ) const
inline

Definition at line 46 of file armor.hh.

Here is the caller graph for this function:

template<class Type, uint nRows, uint nCols>
Type* Armor::Mat< Type, nRows, nCols >::begin ( )
inline

Definition at line 49 of file armor.hh.

template<class Type, uint nRows, uint nCols>
const Type* Armor::Mat< Type, nRows, nCols >::end ( ) const
inline

Definition at line 52 of file armor.hh.

Here is the caller graph for this function:

template<class Type, uint nRows, uint nCols>
Type* Armor::Mat< Type, nRows, nCols >::end ( )
inline

Definition at line 55 of file armor.hh.

template<class Type, uint nRows, uint nCols>
Type* Armor::Mat< Type, nRows, nCols >::memptr ( )
inline

Definition at line 61 of file armor.hh.

template<class Type, uint nRows, uint nCols>
const Type& Armor::Mat< Type, nRows, nCols >::operator() ( uint  row,
uint  col 
) const
inline

Definition at line 70 of file armor.hh.

template<class Type, uint nRows, uint nCols>
Type& Armor::Mat< Type, nRows, nCols >::operator() ( uint  row,
uint  col 
)
inline

Definition at line 73 of file armor.hh.

template<class Type, uint nRows, uint nCols>
const Mat<Type, nRows, nCols>& Armor::Mat< Type, nRows, nCols >::operator= ( const Mat< Type, nRows, nCols > &  other)
inline

Definition at line 79 of file armor.hh.

template<class Type, uint nRows, uint nCols>
const Mat<Type, nRows, nCols>& Armor::Mat< Type, nRows, nCols >::operator= ( const ArmaType other)
inline

Definition at line 85 of file armor.hh.

template<class Type, uint nRows, uint nCols>
const Mat<Type, nRows, nCols>& Armor::Mat< Type, nRows, nCols >::operator= ( std::initializer_list< std::initializer_list< Type >>  list)
inline

Definition at line 91 of file armor.hh.

template<class Type, uint nRows, uint nCols>
const Mat<Type, nRows, nCols>& Armor::Mat< Type, nRows, nCols >::operator= ( std::initializer_list< Type >  list)
inline

Definition at line 102 of file armor.hh.

template<class Type, uint nRows, uint nCols>
bool Armor::Mat< Type, nRows, nCols >::operator== ( const ArmaType other)
inline

Definition at line 109 of file armor.hh.

template<class Type, uint nRows, uint nCols>
bool Armor::Mat< Type, nRows, nCols >::operator== ( const Mat< Type, nRows, nCols > &  other)
inline

Definition at line 120 of file armor.hh.

template<class Type, uint nRows, uint nCols>
const Type& Armor::Mat< Type, nRows, nCols >::operator[] ( uint  index) const
inline

Definition at line 64 of file armor.hh.

template<class Type, uint nRows, uint nCols>
Type& Armor::Mat< Type, nRows, nCols >::operator[] ( uint  index)
inline

Definition at line 67 of file armor.hh.

template<class Type, uint nRows, uint nCols>
uint Armor::Mat< Type, nRows, nCols >::size ( ) const
inline

Definition at line 58 of file armor.hh.

Member Data Documentation

template<class Type, uint nRows, uint nCols>
std::array<std::array<Type, nRows>, nCols> Armor::Mat< Type, nRows, nCols >::data
private

Definition at line 12 of file armor.hh.


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