Public Types | Public Member Functions | Public Attributes | List of all members
Op< T1, op_type > Class Template Reference

#include <forward_bones.hpp>

Inheritance diagram for Op< T1, op_type >:
Inheritance graph
[legend]

Public Types

typedef T1::elem_type elem_type
 
typedef get_pod_type< elem_type >::result pod_type
 

Public Member Functions

 Op (const T1 &in_m)
 
 Op (const T1 &in_m, const elem_type in_aux)
 
 Op (const T1 &in_m, const elem_type in_aux, const uword in_aux_uword_a, const uword in_aux_uword_b)
 
 Op (const T1 &in_m, const uword in_aux_uword_a, const uword in_aux_uword_b)
 
 Op (const T1 &in_m, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c, const char junk)
 
 ~Op ()
 
- Public Member Functions inherited from Base< T1::elem_type, Op< T1, op_type > >
arma_inline const Op< T1, op_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< Op< T1, op_type >, op_stransst () const
 
arma_inline const Op< Op< T1, op_type >, op_htranst () const
 

Public Attributes

arma_aligned elem_type aux
 storage of auxiliary data, user defined format More...
 
arma_aligned uword aux_uword_a
 storage of auxiliary data, uword format More...
 
arma_aligned uword aux_uword_b
 storage of auxiliary data, uword format More...
 
arma_aligned uword aux_uword_c
 storage of auxiliary data, uword format More...
 
arma_aligned const T1 & m
 storage of reference to the operand (eg. a matrix) More...
 

Detailed Description

template<typename T1, typename op_type>
class Op< T1, op_type >

Class for storing data required for delayed unary operations, such as the operand (e.g. the matrix to which the operation is to be applied) and the unary operator (e.g. inverse). The operand is stored as a reference (which can be optimised away), while the operator is "stored" through the template definition (op_type). The operands can be 'Mat', 'Row', 'Col', 'Op', and 'Glue'. Note that as 'Glue' can be one of the operands, more than one matrix can be stored.

For example, we could have: Op< Glue< Mat, Mat, glue_times >, op_htrans >

Definition at line 88 of file forward_bones.hpp.

Member Typedef Documentation

template<typename T1, typename op_type>
typedef T1::elem_type Op< T1, op_type >::elem_type

Definition at line 34 of file Op_bones.hpp.

template<typename T1, typename op_type>
typedef get_pod_type<elem_type>::result Op< T1, op_type >::pod_type

Definition at line 35 of file Op_bones.hpp.

Member Data Documentation

template<typename T1, typename op_type>
arma_aligned elem_type Op< T1, op_type >::aux

storage of auxiliary data, user defined format

Definition at line 46 of file Op_bones.hpp.

template<typename T1, typename op_type>
arma_aligned uword Op< T1, op_type >::aux_uword_a

storage of auxiliary data, uword format

Definition at line 47 of file Op_bones.hpp.

template<typename T1, typename op_type>
arma_aligned uword Op< T1, op_type >::aux_uword_b

storage of auxiliary data, uword format

Definition at line 48 of file Op_bones.hpp.

template<typename T1, typename op_type>
arma_aligned uword Op< T1, op_type >::aux_uword_c

storage of auxiliary data, uword format

Definition at line 49 of file Op_bones.hpp.

template<typename T1, typename op_type>
arma_aligned const T1& Op< T1, op_type >::m

storage of reference to the operand (eg. a matrix)

Definition at line 45 of file Op_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