sample_without_replacement

Function sample_without_replacement 

Source
pub fn sample_without_replacement<T: Clone>(
    data: &[T],
    sample_size: usize,
    rng: &mut Random,
) -> Vec<T>
Expand description

Optimized random sampling without replacement