Skip to main content

random_exponential_array

Function random_exponential_array 

Source
pub fn random_exponential_array<D: Dimension>(
    shape: D,
    lambda: f64,
    rng: &mut Random<impl Rng>,
) -> Array<f64, D>
Expand description

Generate a random array with exponential distribution