fn_randn.hpp File Reference

Go to the source code of this file.

Functions

arma_inline const eOp< mat,
eop_randn
randn (const u32 n_rows, const u32 n_cols)
 Generate a dense matrix with all elements set to random values with a gaussian distribution (zero mean, unit variance).
arma_inline const eOpCube
< cube, eop_cube_randn
randn (const u32 n_rows, const u32 n_cols, const u32 n_slices)
arma_inline const eOp< colvec,
eop_randn
randn (const u32 n_elem)
 Generate a vector with all elements set to random values with a gaussian distribution (zero mean, unit variance).