Closed DE0CH closed 1 year ago
This probably also needs to be rebased on the lastest changes.
@DE0CH Are you able to update this branch to the newest version? If not, I can take care of it
Sorry I am quite busy this week. If you could help me that would be great thanks.
Closed in #55
The
choose_multiple
function chooses multiple elements from an iterable, using the reservoir sampling algorithm. It is useful for sampling numbers from a list and generating a list of random numbers with no repetition.Adapted from: https://docs.rs/rand/latest/rand/seq/trait.IteratorRandom.html#method.choose_multiple.