Function revonet::math::rand_matrix_std_gauss [] [src]

pub fn rand_matrix_std_gauss<T: Rng>(
    height: usize,
    width: usize,
    rng: &mut T
) -> Vec<Vec<f32>>

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

Arguments:

  • height - number of rows.
  • width - number of columns.
  • rng - mutable reference to the external RNG.