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