Posts Tagged math

Get a random subsequence of elements

Here’s a bit of code to create a sequence of random elements of a desired length, initialized from another sequence.

Advertisements

,

Leave a comment