UNPKG

@stdlib/random-streams-minstd-shuffle-cli

Version:

Create a readable stream for a linear congruential pseudorandom number generator (LCG) whose output is shuffled.

17 lines (12 loc) 699 B
Usage: random-minstd-shuffle [options] Options: -h, --help Print this message. -V, --version Print the package version. --sep sep Separator used to join streamed data. Default: '\n'. -n, --iter iterations Number of pseudorandom numbers. --normalized Generate pseudorandom numbers on the interval [0,1). --seed seed Pseudorandom number generator seed. --state filepath Path to a file containing the pseudorandom number generator state. --snapshot filepath Output file path for saving the pseudorandom number generator state upon exit.