random_number

Function random_fill_inclusively_cmp_with_rng

source
pub fn random_fill_inclusively_cmp_with_rng<X: SampleUniform + Ord + Clone, B: SampleBorrow<X>, T: Rng>(
    out: &mut [X],
    a: B,
    b: B,
    rng: &mut T,
)
Expand description

Generate random values in the range [a, b] or [b, a] with an existing random number generator.