[][src]Macro arrayfire::randu

macro_rules! randu {
    ($($dim:expr),+) => { ... };
    ($type:ty; $($dim:expr),+) => { ... };
}

Create an array of given shape sampled from uniform distribution

If no type argument is specified, the data type defaults to 32 bit floats.

Examples

let mat10x10 = randu!(10, 10);