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