[][src]Macro arrayfire::randn

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

Create an array of given shape sampled from normal distribution

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

Examples

let mat10x10 = randn!(10, 10);