Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Gen< eT, gen_type > Class Template Reference

support class for generator functions (eg. zeros, randu, randn, ...) More...

#include <forward_bones.hpp>

Inheritance diagram for Gen< eT, gen_type >:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

void apply (Mat< eT > &out) const
 
void apply_inplace_div (Mat< eT > &out) const
 
void apply_inplace_minus (Mat< eT > &out) const
 
void apply_inplace_plus (Mat< eT > &out) const
 
void apply_inplace_schur (Mat< eT > &out) const
 
arma_inline eT at (const uword row, const uword col) const
 
arma_inline Gen (const uword in_n_rows, const uword in_n_cols)
 
arma_inline eT operator[] (const uword i) const
 
arma_inline ~Gen ()
 
- Public Member Functions inherited from Base< eT, Gen< eT, gen_type > >
arma_inline const Gen< eT, gen_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< Gen< eT, gen_type >, op_stransst () const
 
arma_inline const Op< Gen< eT, gen_type >, op_htranst () const
 

Static Public Member Functions

static arma_inline eT generate ()
 

Public Attributes

arma_aligned const uword n_cols
 
arma_aligned const uword n_rows
 

Static Public Attributes

static const bool prefer_at_accessor = (is_same_type<gen_type, gen_ones_diag>::value) ? true : false
 

Detailed Description

template<typename eT, typename gen_type>
class Gen< eT, gen_type >

support class for generator functions (eg. zeros, randu, randn, ...)

Definition at line 86 of file forward_bones.hpp.

Member Typedef Documentation

template<typename eT, typename gen_type>
typedef eT Gen< eT, gen_type >::elem_type

Definition at line 24 of file Gen_bones.hpp.

template<typename eT, typename gen_type>
typedef get_pod_type<elem_type>::result Gen< eT, gen_type >::pod_type

Definition at line 25 of file Gen_bones.hpp.

Member Data Documentation

template<typename eT, typename gen_type>
arma_aligned const uword Gen< eT, gen_type >::n_cols

Definition at line 30 of file Gen_bones.hpp.

template<typename eT, typename gen_type>
arma_aligned const uword Gen< eT, gen_type >::n_rows

Definition at line 29 of file Gen_bones.hpp.

template<typename eT, typename gen_type>
const bool Gen< eT, gen_type >::prefer_at_accessor = (is_same_type<gen_type, gen_ones_diag>::value) ? true : false
static

Definition at line 27 of file Gen_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