3 ms·
Generating random permutations uniformly is a nontrivial problem that I have solved in (probably) close but incorrect ways using RNGs directly. Knowing about `s
by pickdenis 7y ago
Generating random permutations uniformly is a nontrivial problem that I have solved in (probably) close but incorrect ways using RNGs directly. Knowing about `shuf` would have helped a lot!