28 typedef typename T1::elem_type eT;
43 eT* out_mem = out.
memptr();
45 for(
uword col=0; col<X_n_cols; ++col)
54 eT* out_mem = out.
memptr();
56 for(
uword row=0; row<X_n_rows; ++row)
60 for(
uword col=0; col<X_n_cols; ++col)
arma_inline arma_warn_unused eT * memptr()
returns a pointer to array of eTs used by the matrix
void set_size(const uword in_elem)
change the matrix to have user specified dimensions (data is not preserved)
const uword n_cols
number of columns in the matrix (read-only)
const uword n_rows
number of rows in the matrix (read-only)
arma_aligned const T1 & m
storage of reference to the operand (eg. a matrix)
arma_hot static arma_pure eT product(const eT *src, const uword n_elem)
arma_inline arma_warn_unused eT * colptr(const uword in_col)
returns a pointer to array of eTs for a specified column; no bounds check
arma_inline arma_warn_unused eT & at(const uword i)
linear element accessor (treats the matrix as a vector); no bounds check.
static void apply(Mat< typename T1::elem_type > &out, const Op< T1, op_prod > &in)
Immediate product of elements of a matrix along a specified dimension (either rows or columns)...
#define arma_extra_debug_sigprint
arma_aligned uword aux_uword_a
storage of auxiliary data, uword format