random_number

Function random_fill_exclusively

source
pub fn random_fill_exclusively<X: SampleUniform, B1: SampleBorrow<X>, B2: SampleBorrow<X>>(
    out: &mut [X],
    min: B1,
    max_exclusive: B2,
)
Expand description

Generate random values in the range [min, max_exclusive) with a new lazily-initialized thread-local random number generator.

Panics if min >= max_exclusive.