Module index

Source
Expand description

Low-level API for sampling indices

Functionsยง

sample_array
Randomly sample exactly N distinct indices from 0..len, and return them in random order (fully shuffled).