sample_normal

Function sample_normal 

Source
pub fn sample_normal<R: Rng>(rng: &mut R, mean: f32, std: f32) -> f32
Expand description

Sample from a normal distribution with given mean and standard deviation using Box-Muller transform