Skip to main content

STANDARD_MULTI_NORMAL

Constant STANDARD_MULTI_NORMAL 

Source
pub const STANDARD_MULTI_NORMAL: IIDDistr<StandardNormal>;
Expand description

The multivariate standard normal distribution.

ยงExamples

let mut rng = rand::thread_rng();
// Each of x element is distributed according to StandardNormal
let x : [f64; 10] = STANDARD_MULTI_NORMAL.sample(&mut rng);