$search

Glue< T1, T2, glue_type > Class Template Reference
[Glue]

#include <Glue_bones.hpp>

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

List of all members.

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

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 33 of file Glue_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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Mar 5 12:27:54 2013