$search
A lightweight array for POD types. If the amount of memory requested is small, the stack is used. More...
#include <podarray_bones.hpp>
Public Member Functions | |
arma_hot void | copy_row (const Mat< eT > &A, const uword row) |
void | fill (const eT val) |
arma_inline const eT * | memptr () const |
arma_inline eT * | memptr () |
arma_inline eT | operator() (const uword i) const |
arma_inline eT & | operator() (const uword i) |
const podarray & | operator= (const podarray &x) |
arma_inline eT | operator[] (const uword i) const |
arma_inline eT & | operator[] (const uword i) |
arma_inline | podarray (const eT *X, const uword new_N) |
arma_inline | podarray (const uword new_N) |
podarray (const podarray &x) | |
podarray () | |
void | reset () |
void | set_size (const uword new_n_elem) |
void | zeros (const uword new_n_elem) |
void | zeros () |
~podarray () | |
Public Attributes | |
arma_aligned const eT *const | mem |
pointer to memory used by the object | |
arma_aligned const uword | n_elem |
number of elements held | |
Protected Member Functions | |
void | init (const uword new_n_elem) |
Protected Attributes | |
arma_aligned eT | mem_local [podarray_prealloc_n_elem::val] |
Internal memory, to avoid calling the 'new' operator for small amounts of memory. |
A lightweight array for POD types. If the amount of memory requested is small, the stack is used.
Definition at line 29 of file podarray_bones.hpp.
pointer to memory used by the object
Definition at line 34 of file podarray_bones.hpp.
arma_aligned eT podarray< eT >::mem_local[podarray_prealloc_n_elem::val] [protected] |
Internal memory, to avoid calling the 'new' operator for small amounts of memory.
Definition at line 39 of file podarray_bones.hpp.
number of elements held
Definition at line 33 of file podarray_bones.hpp.