lcg

Generate random integers.

Version:
1.3
Copyright:
Erich Janka
License:
lppl
Packaged on:
08/27/2013 20:00:02
Number of files:
4
Size on disk:
274.16 kB

The lcg package generates random numbers (integers) via a linear congruential generator (Schrage’s method). The random numbers are written to a counter. The keyval package is used for the user to provide values for the range and a seed, and for the name of the counter to be used.