#include <forward_bones.hpp>
Public Types | |
typedef T1::elem_type | elem_type |
typedef get_pod_type< elem_type >::result | pod_type |
Public Member Functions | |
arma_inline | Glue (const T1 &in_A, const T2 &in_B) |
arma_inline | Glue (const T1 &in_A, const T2 &in_B, const uword in_aux_uword) |
arma_inline | ~Glue () |
Public Member Functions inherited from Base< T1::elem_type, Glue< T1, T2, glue_type > > | |
arma_inline const Glue< T1, T2, glue_type > & | get_ref () const |
void | print (const std::string extra_text="") const |
void | print (std::ostream &user_stream, const std::string extra_text="") const |
arma_deprecated void | print_trans (const std::string extra_text="") const |
arma_deprecated void | print_trans (std::ostream &user_stream, const std::string extra_text="") const |
void | raw_print (const std::string extra_text="") const |
void | raw_print (std::ostream &user_stream, const std::string extra_text="") const |
arma_deprecated void | raw_print_trans (const std::string extra_text="") const |
arma_deprecated void | raw_print_trans (std::ostream &user_stream, const std::string extra_text="") const |
arma_inline const Op< Glue< T1, T2, glue_type >, op_strans > | st () const |
arma_inline const Op< Glue< T1, T2, glue_type >, op_htrans > | t () const |
Public Attributes | |
const T1 & | A |
first operand More... | |
uword | aux_uword |
storage of auxiliary data, uword format More... | |
const T2 & | B |
second operand More... | |
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.
For example, we could have: Glue<Mat, Mat, glue_times>
Another example is: Glue< Op<Mat, op_htrans>, Op<Mat, op_inv>, glue_times >
Definition at line 92 of file forward_bones.hpp.
typedef T1::elem_type Glue< T1, T2, glue_type >::elem_type |
Definition at line 37 of file Glue_bones.hpp.
typedef get_pod_type<elem_type>::result Glue< T1, T2, glue_type >::pod_type |
Definition at line 38 of file Glue_bones.hpp.
const T1& Glue< T1, T2, glue_type >::A |
first operand
Definition at line 44 of file Glue_bones.hpp.
storage of auxiliary data, uword format
Definition at line 46 of file Glue_bones.hpp.
const T2& Glue< T1, T2, glue_type >::B |
second operand
Definition at line 45 of file Glue_bones.hpp.