Skip to main content

draw

Function draw 

Source
pub fn draw(probs: &[f32], rng: &mut SplitMix64) -> u32
Expand description

Draw from a normalized distribution with the caller’s RNG.