29   typedef typename T1::elem_type  in_eT;
    30   typedef typename T1::pod_type  out_eT;
    38   arma_debug_check( (norm_type > 1), 
"stddev(): incorrect usage. norm_type must be 0 or 1");
    39   arma_debug_check( (dim > 1),       
"stddev(): incorrect usage. dim must be 0 or 1"      );
    52     out_eT* out_mem = out.
memptr();
    54     for(
uword col=0; col<X_n_cols; ++col)
    64     arma_debug_check( (X_n_cols == 0), 
"stddev(): given object has zero columns" );
    70     in_eT*  tmp_mem = tmp.
memptr();
    71     out_eT* out_mem = out.
memptr();
    73     for(
uword row=0; row<X_n_rows; ++row)
 
arma_hot void copy_row(const Mat< eT > &A, const uword row)
arma_inline arma_warn_unused eT * memptr()
returns a pointer to array of eTs used by the matrix 
arma_aligned uword aux_uword_b
storage of auxiliary data, uword format 
A lightweight array for POD types. If the amount of memory requested is small, the stack is used...
void set_size(const uword in_elem)
change the matrix to have user specified dimensions (data is not preserved) 
arma_aligned const T1 & m
storage of reference to the operand (eg. a matrix) 
arma_inline const eOp< T1, eop_sqrt > sqrt(const Base< typename T1::elem_type, T1 > &A)
const uword n_cols
number of columns in the matrix (read-only) 
const uword n_rows
number of rows in the matrix (read-only) 
#define arma_extra_debug_print
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 
static eT direct_var(const eT *const X, const uword N, const uword norm_type=0)
find the variance of an array 
#define arma_extra_debug_sigprint
arma_inline eT * memptr()
arma_aligned uword aux_uword_a
storage of auxiliary data, uword format 
static void apply(Mat< typename T1::pod_type > &out, const mtOp< typename T1::pod_type, T1, op_stddev > &in)
For each row or for each column, find the standard deviation. The result is stored in a dense matrix ...