Function rand_double_input

Source
pub fn rand_double_input(nx: INT, ny: INT) -> Array
Expand description

Return a matrix of random values, each between zero and one. Arguments indicate the number of rows and columns in the matrix.

let matrix = rand(3, 3);
assert_eq(size(matrix), [3, 3]);