74 typename T1::elem_type
80 typedef typename T1::elem_type eT;
103 template<
typename eT>
122 for(
uword col=start_col; col<end_col_plus_1; ++col)
124 val *= X.
at(row,col);
134 template<
typename eT>
148 template<
typename eT>
160 for(
uword i=0; i<X_n_elem; ++i)
170 template<
typename eT,
typename T1>
arma_inline arma_warn_unused eT * memptr()
returns a pointer to array of eTs used by the matrix
arma_inline const derived & get_ref() const
const uword n_elem
number of elements in the matrix (read-only)
#define arma_extra_debug_print
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)
Class for column vectors (matrices with only one column)
arma_inline arma_warn_unused eT & at(const uword i)
linear element accessor (treats the matrix as a vector); no bounds check.
arma_aligned const Mat< eT > & m
arma_inline eT * colptr(const uword in_col)
arma_inline const Op< T1, op_prod > prod(const Base< typename T1::elem_type, T1 > &X, const uword dim=0)
Delayed product of elements of a matrix along a specified dimension (either rows or columns)...
Class for row vectors (matrices with only one row)
#define arma_extra_debug_sigprint
Class for finding products of values in a matrix (e.g. along rows or columns)
Class for storing data required to extract and set the diagonals of a matrix.