fn_rand.hpp File Reference

Go to the source code of this file.

Functions

const Op< mat, op_randrand (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).
const Op< colvec, op_randrand (const u32 n_elem)
 Generate a vector with all elements set to random values in the [0,1] interval (uniform distribution).