Function revonet::math::rand_vector_std_gauss [] [src]

pub fn rand_vector_std_gauss<T: Rng + Sized>(
    size: usize,
    rng: &mut T
) -> Vec<f32>

Generates random vector where each element is drawn from the standard Gaussian distribution.

Arguments:

  • size - resulting vector size.
  • rng - mutable reference to the external RNG.