random_number

Function random_fill

source
pub fn random_fill<X: SampleUniform + Bounded>(out: &mut [X])
Expand description

Generate random values in the range of the output type with a new lazily-initialized thread-local random number generator.