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