fn_rand.hpp File Reference

Go to the source code of this file.

Functions

arma_inline const eOp< mat,
eop_rand
rand (const u32 n_rows, const u32 n_cols)
 Generate a dense matrix with all elements set to random values in the [0,1] interval (uniform distribution).
arma_inline const eOpCube
< cube, eop_cube_rand
rand (const u32 n_rows, const u32 n_cols, const u32 n_slices)
arma_inline const eOp< colvec,
eop_rand
rand (const u32 n_elem)
 Generate a vector with all elements set to random values in the [0,1] interval (uniform distribution).