112 template<
typename eT,
typename T1>
122 return var(X, norm_type);
arma_inline const derived & get_ref() const
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
const mtOp< typename T1::pod_type, T1, op_var > var(const Base< typename T1::elem_type, T1 > &X, const uword norm_type=0, const uword dim=0)
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.