Expand description
Low-level API for sampling indices
Enums§
- Index
Vec  - A vector of indices.
 - Index
VecInto Iter  - Return type of 
IndexVec::into_iter. - Index
VecIter  - Return type of 
IndexVec::iter. 
Functions§
- sample
 - Randomly sample exactly 
amountdistinct indices from0..length, and return them in random order (fully shuffled). - sample_
array  - Randomly sample exactly 
Ndistinct indices from0..len, and return them in random order (fully shuffled). - sample_
weighted  - Randomly sample 
amountdistinct indices from0..length