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) |
arma_scalar_only< eT >::result randu | ( | ) | [inline] |
Definition at line 20 of file fn_randu.hpp.
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)
Definition at line 39 of file fn_randu.hpp.
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 |
||
) |
Definition at line 51 of file fn_randu.hpp.
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)
Definition at line 72 of file fn_randu.hpp.
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 |
||
) |
Definition at line 84 of file fn_randu.hpp.
arma_inline const GenCube<cube::elem_type, gen_randu> randu | ( | const uword | n_rows, |
const uword | n_cols, | ||
const uword | n_slices | ||
) |
Definition at line 96 of file fn_randu.hpp.
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 |
||
) |
Definition at line 108 of file fn_randu.hpp.