#include <Glue_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, const uword in_aux_uword) |
arma_inline | Glue (const T1 &in_A, const T2 &in_B) |
arma_inline | ~Glue () |
Public Attributes | |
const T1 & | A |
first operand | |
uword | aux_uword |
storage of auxiliary data, uword format | |
const T2 & | B |
second operand |
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 33 of file Glue_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.
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.
second operand
Definition at line 45 of file Glue_bones.hpp.