UNPKG

@stdlib/random-streams-improved-ziggurat-cli

Version:

Create a readable stream for generating pseudorandom numbers drawn from a standard normal distribution using the Improved Ziggurat algorithm.

16 lines (11 loc) 621 B
Usage: random-improved-ziggurat [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. --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.