42 arma_debug_check( (A_n_elem == 0),
"stddev(): given object has no elements" );
60 arma_debug_check( (A_n_elem == 0),
"stddev(): given object has no elements" );
100 template<
typename eT>
115 template<
typename eT,
typename T1>
125 return stddev(X, norm_type);
arma_inline const derived & get_ref() const
arma_inline const eOp< T1, eop_sqrt > sqrt(const Base< typename T1::elem_type, T1 > &A)
const mtOp< typename T1::pod_type, T1, op_stddev > stddev(const Base< typename T1::elem_type, T1 > &X, const uword norm_type=0, const uword dim=0)
const uword n_elem
number of elements in the matrix (read-only)
Class for column vectors (matrices with only one column)
static eT direct_var(const eT *const X, const uword N, const uword norm_type=0)
find the variance of an array
arma_inline eT * colptr(const uword in_col)
Class for row vectors (matrices with only one row)
#define arma_extra_debug_sigprint
arma_aligned const eT *const mem
pointer to the memory used by the matrix (memory is read-only)
Class for storing data required to extract and set the diagonals of a matrix.