lcg – Generate random integers
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 to set values for the range, a seed, and the name of the counter.
| CTAN path | /macros/latex/contrib/lcg |
|---|---|
| Documentation |
Package documentation |
| Version | 1.2 |
| License | The LaTeX Project Public License |
| Copyright | 2001,2003,2008 Erich Janka |
| Maintainer | Erich Janka |
| Contained in | TeXLive as lcg |
| MiKTeX as lcg | |
| Topics |
perform calculations within TeX |
| See also |
random |
