Functions | |
const Op< mat, op_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). | |
const Op< colvec, op_randn > | randn (const u32 n_elem) |
Generate a vector with all elements set to random values with a gaussian distribution (zero mean, unit variance). |
Generate a dense matrix with all elements set to random values with a gaussian distribution (zero mean, unit variance).
Definition at line 24 of file fn_randn.hpp.
00025 { 00026 arma_extra_debug_sigprint(); 00027 00028 return Op<mat, op_randn>(n_rows, n_cols, 'j'); 00029 }
Generate a vector with all elements set to random values with a gaussian distribution (zero mean, unit variance).
Definition at line 50 of file fn_randn.hpp.
00051 { 00052 arma_extra_debug_sigprint(); 00053 00054 return Op<colvec, op_randn>(n_elem, 1, 'j'); 00055 }