Go to the source code of this file.
Functions | |
double | randu () |
arma_inline const Gen < vec::elem_type, gen_randu > | randu (const uword n_elem) |
Generate a vector with all elements set to random values in the [0,1] interval (uniform distribution) | |
template<typename vec_type > | |
arma_inline const Gen < typename vec_type::elem_type, gen_randu > | randu (const uword n_elem, const arma_empty_class junk1=arma_empty_class(), const typename arma_Mat_Col_Row_only< vec_type >::result *junk2=0) |
arma_inline const Gen < mat::elem_type, gen_randu > | randu (const uword n_rows, const uword n_cols) |
Generate a dense matrix with all elements set to random values in the [0,1] interval (uniform distribution) | |
template<typename mat_type > | |
arma_inline const Gen < typename mat_type::elem_type, gen_randu > | randu (const uword n_rows, const uword n_cols, const typename arma_Mat_Col_Row_only< mat_type >::result *junk=0) |
arma_inline const GenCube < cube::elem_type, gen_randu > | randu (const uword n_rows, const uword n_cols, const uword n_slices) |
template<typename cube_type > | |
arma_inline const GenCube < typename cube_type::elem_type, gen_randu > | randu (const uword n_rows, const uword n_cols, const uword n_slices, const typename arma_Cube_only< cube_type >::result *junk=0) |