Glue


Classes

class  Glue< T1, T2, glue_type >
 Class for storing data required for delayed binary operations, such as the operands (e.g. two matrices) and the binary operator (e.g. addition). The operands are stored as references (which can be optimised away), while the operator is "stored" through the template definition (glue_type). The operands can be 'Mat', 'Row', 'Col', 'Op', and 'Glue'. Note that as 'Glue' can be one of the operands, more than two matrices can be stored. More...

Functions

arma_inline Glue::Glue (const T1 &in_A, const T2 &in_B)
arma_inline Glue::~Glue ()

Function Documentation

template<typename T1 , typename T2 , typename glue_type >
Glue< T1, T2, glue_type >::Glue ( const T1 &  in_A,
const T2 &  in_B 
) [inline, inherited]

Definition at line 22 of file Glue_meat.hpp.

00023   : A(in_A)
00024   , B(in_B)
00025   {
00026   arma_extra_debug_sigprint();
00027   
00028   isnt_same_type<typename T1::elem_type, typename T2::elem_type>::check();
00029   }

template<typename T1 , typename T2 , typename glue_type >
Glue< T1, T2, glue_type >::~Glue (  )  [inline, inherited]

Definition at line 35 of file Glue_meat.hpp.

00036   {
00037   arma_extra_debug_sigprint();
00038   }