macro_rules! rand {
    () => { ... };
    ( $m:expr, $n:expr ) => { ... };
}
Expand description

MATLAB like rand - random matrix

Examples

#[macro_use]
extern crate peroxide;
use peroxide::fuga::*;

fn main() {
    let a = rand!(2, 2);
    println!("{}", a);  // 2 x 2 random matrix (0 ~ 1)
}