arma_inline const Op<Op<T1, op_cumsum_vec>, op_cumsum_vec> cumsum ( const Op<T1, op_cumsum_vec>& X, const arma_empty_class junk1 = arma_empty_class(), const typename enable_if<resolves_to_vector<T1>::value == true>::result* junk2 = 0 ) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); return Op<Op<T1, op_cumsum_vec>, op_cumsum_vec>(X); }
arma_inline const Op<T1, op_shuffle> shuffle ( const T1& X, const arma_empty_class junk1 = arma_empty_class(), const typename enable_if<resolves_to_vector<T1>::value == true>::result* junk2 = 0 ) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); return T1::is_row ? Op<T1, op_shuffle>(X, 1, 0) : Op<T1, op_shuffle>(X, 0, 0); }
arma_warn_unused inline uword index_max ( const T1& X, const arma_empty_class junk1 = arma_empty_class(), const typename enable_if<resolves_to_vector<T1>::value == true>::result* junk2 = 0 ) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); return X.index_max(); }
inline typename T1::pod_type var ( const T1& X, const uword norm_type = 0, const arma_empty_class junk1 = arma_empty_class(), const typename enable_if<resolves_to_sparse_vector<T1>::value == true>::result* junk2 = 0 ) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); return spop_var::var_vec(X, norm_type); }
inline arma_warn_unused typename T1::elem_type sum ( const T1& X, const arma_empty_class junk1 = arma_empty_class(), const typename enable_if< resolves_to_vector<T1>::value == true >::result* junk2 = 0 ) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); return accu(X); }
inline arma_warn_unused bool all ( const T1& X, const arma_empty_class junk1 = arma_empty_class(), const typename enable_if<resolves_to_vector<T1>::value == true>::result* junk2 = 0 ) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); return op_all::all_vec(X); }
arma_inline const Gen<obj_type, gen_zeros> zeros(const uword n_elem, const arma_empty_class junk1 = arma_empty_class(), const typename arma_Mat_Col_Row_only<obj_type>::result* junk2 = 0) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); if(is_Row<obj_type>::value == true) { return Gen<obj_type, gen_zeros>(1, n_elem); } else { return Gen<obj_type, gen_zeros>(n_elem, 1); } }
inline arma_warn_unused typename T1::pod_type stddev ( const T1& X, const uword norm_type = 0, const arma_empty_class junk1 = arma_empty_class(), const typename enable_if<resolves_to_vector<T1>::value == true>::result* junk2 = 0 ) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); return std::sqrt( op_var::var_vec(X, norm_type) ); }
inline obj_type randg(const uword n_elem, const distr_param& param = distr_param(), const arma_empty_class junk1 = arma_empty_class(), const typename arma_Mat_Col_Row_only<obj_type>::result* junk2 = 0) { arma_extra_debug_sigprint(); arma_ignore(junk1); arma_ignore(junk2); if(is_Row<obj_type>::value == true) { return randg<obj_type>(1, n_elem, param); } else { return randg<obj_type>(n_elem, 1, param); } }