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

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

#include <Gen_bones.hpp>

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

List of all members.

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 ()

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 20 of file Gen_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): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:08