Re-sampling functions for weighted sampling
Example
use resample;
let mut rng = thread_rng;
let weights = ;
let population = vec!;
let samples = resample;
assert_eq!;
// Make sure all samples are in the population
assert!;
Re-sampling functions for weighted sampling
use resample;
let mut rng = thread_rng;
let weights = ;
let population = vec!;
let samples = resample;
assert_eq!;
// Make sure all samples are in the population
assert!;