# [−][src]Macro peroxide::rand

MATLAB like rand - random matrix

# Examples

extern crate peroxide; use peroxide::*; let a = rand!(2, 2); println!("{}", a); // 2 x 2 random matrix (0 ~ 1)

MATLAB like rand - random matrix

extern crate peroxide; use peroxide::*; let a = rand!(2, 2); println!("{}", a); // 2 x 2 random matrix (0 ~ 1)