Public Types | Public Member Functions | Public Attributes | List of all members
Glue< T1, T2, glue_type > Class Template Reference

#include <forward_bones.hpp>

Inheritance diagram for Glue< T1, T2, glue_type >:
Inheritance graph
[legend]

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_stransst () const
 
arma_inline const Op< Glue< T1, T2, glue_type >, op_htranst () 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...
 

Detailed Description

template<typename T1, typename T2, typename glue_type>
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.

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.

Member Typedef Documentation

template<typename T1, typename T2, typename glue_type>
typedef T1::elem_type Glue< T1, T2, glue_type >::elem_type

Definition at line 37 of file Glue_bones.hpp.

template<typename T1, typename T2, typename glue_type>
typedef get_pod_type<elem_type>::result Glue< T1, T2, glue_type >::pod_type

Definition at line 38 of file Glue_bones.hpp.

Member Data Documentation

template<typename T1, typename T2, typename glue_type>
const T1& Glue< T1, T2, glue_type >::A

first operand

Definition at line 44 of file Glue_bones.hpp.

template<typename T1, typename T2, typename glue_type>
uword Glue< T1, T2, glue_type >::aux_uword

storage of auxiliary data, uword format

Definition at line 46 of file Glue_bones.hpp.

template<typename T1, typename T2, typename glue_type>
const T2& Glue< T1, T2, glue_type >::B

second operand

Definition at line 45 of file Glue_bones.hpp.


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


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:32:00