19 template<
typename eT,
typename gen_type>
24 , n_slices(in_n_slices)
31 template<
typename eT,
typename gen_type>
40 template<
typename eT,
typename gen_type>
54 template<
typename eT,
typename gen_type>
64 template<
typename eT,
typename gen_type>
74 template<
typename eT,
typename gen_type>
92 template<
typename eT,
typename gen_type>
102 eT* out_mem = out.
memptr();
107 for(i=0, j=1; j<n_elem; i+=2, j+=2)
125 template<
typename eT,
typename gen_type>
135 eT* out_mem = out.
memptr();
140 for(i=0, j=1; j<n_elem; i+=2, j+=2)
158 template<
typename eT,
typename gen_type>
168 eT* out_mem = out.
memptr();
173 for(i=0, j=1; j<n_elem; i+=2, j+=2)
191 template<
typename eT,
typename gen_type>
201 eT* out_mem = out.
memptr();
206 for(i=0, j=1; j<n_elem; i+=2, j+=2)
arma_inline eT operator[](const uword i) const
arma_aligned const uword n_cols
arma_inline GenCube(const uword in_n_rows, const uword in_n_cols, const uword in_n_slices)
#define arma_debug_assert_same_size
arma_aligned const uword n_slices
arma_inline eT at(const uword row, const uword col, const uword slice) const
arma_inline arma_warn_unused eT * memptr()
returns a pointer to array of eTs used by the cube
const uword n_cols
number of columns in each slice (read-only)
void apply_inplace_minus(Cube< eT > &out) const
#define arma_extra_debug_sigprint
void apply_inplace_plus(Cube< eT > &out) const
void apply_inplace_schur(Cube< eT > &out) const
const uword n_elem
number of elements in the cube (read-only)
void apply(Cube< eT > &out) const
static arma_inline eT generate()
arma_aligned const uword n_rows
void apply_inplace_div(Cube< eT > &out) const
const uword n_slices
number of slices in the cube (read-only)
const uword n_rows
number of rows in each slice (read-only)