Questions tagged [shuffle]

Shuffling is the act of randomizing the order of the elements in a collection.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
41 views

Generate sample of permuted sequences with non-repeating elements

I have a very long sequence of letters (>20000 elements long). I want to permute them so that I have another sequence using the same letters but in a different order but still with the property of no ...
1
vote
0answers
22 views

Implementation of GNU shuf(1) now supporting nul characters

Some time ago, I implemented shuf(1), but it had an issue: it ignored nul characters in the input. This new version tries to solve this problem (but uses the ...
1
vote
0answers
339 views

Seeded array shuffle

This should be relatively simple, but I want to know if I've done the randomness bit correctly. ...