Flow123d  release_3.0.0-1210-g1d9e2bd
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 (Type *const mem)
 
 Mat (const Armor::Mat< Type, nRows, nCols > &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

Type *const data
 

Detailed Description

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

Definition at line 13 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 17 of file armor.hh.

Constructor & Destructor Documentation

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

Definition at line 19 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 22 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 59 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 29 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 32 of file armor.hh.

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

Definition at line 35 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 38 of file armor.hh.

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

Definition at line 44 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 53 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 56 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 62 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 68 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 74 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 85 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 92 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 103 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 47 of file armor.hh.

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

Definition at line 50 of file armor.hh.

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

Definition at line 41 of file armor.hh.

Member Data Documentation

template<class Type, uint nRows, uint nCols>
Type* const Armor::Mat< Type, nRows, nCols >::data
private

Definition at line 16 of file armor.hh.


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