pub fn random_normal(
            &self,
            shape: &[usize],
            mean: f64,
            stddev: f64,
        ) -> ndarray::Array<T, ndarray::IxDyn> {
            let normal = rand_distr::Normal::new(mean, stddev).unwrap();
            self.gen_random_array(shape, normal)
        }
/// Creates an ndarray sampled from the normal distribution with given params.
Creates an ndarray sampled from the normal distribution with given params.
Creates an ndarray sampled from the normal distribution with given params .
pub fn random_normal(
            &self,
            shape: &[usize],
            mean: f64,
            stddev: f64,
        ) -> ndarray::Array<T, ndarray::IxDyn> {
            let normal = rand_distr::Normal::new(mean, stddev).unwrap();
            self.gen_random_array(shape, normal)
        }
pub fn random_normal ( & self , shape : & [ usize ] , mean : f64 , stddev : f64 , ) -> ndarray :: Array < T , ndarray :: IxDyn > { let normal = rand_distr :: Normal :: new ( mean , stddev ) . unwrap ( ) ; self . gen_random_array ( shape , normal ) }
Creates an ndarray sampled from the normal distribution with given params.
Creates an ndarray sampled from the normal distribution with given params .
&self
shape
&[usize]
mean
f64
stddev
f64
&self
shape
&[usize]
mean
f64
stddev
f64