pub fn random_uniform(
            &self,
            shape: &[usize],
            min: f64,
            max: f64,
        ) -> ndarray::Array<T, ndarray::IxDyn> {
            let range = rand_distr::Uniform::new(min, max);
            self.gen_random_array(shape, range)
        }
/// Creates an ndarray sampled from the uniform distribution with given params.
Creates an ndarray sampled from the uniform distribution with given params.
Creates an ndarray sampled from the uniform distribution with given params .
pub fn random_uniform(
            &self,
            shape: &[usize],
            min: f64,
            max: f64,
        ) -> ndarray::Array<T, ndarray::IxDyn> {
            let range = rand_distr::Uniform::new(min, max);
            self.gen_random_array(shape, range)
        }
pub fn random_uniform ( & self , shape : & [ usize ] , min : f64 , max : f64 , ) -> ndarray :: Array < T , ndarray :: IxDyn > { let range = rand_distr :: Uniform :: new ( min , max ) ; self . gen_random_array ( shape , range ) }
Creates an ndarray sampled from the uniform distribution with given params.
Creates an ndarray sampled from the uniform distribution with given params .
&self
shape
&[usize]
min
f64
max
f64
&self
shape
&[usize]
min
f64
max
f64