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 for the user to provide values for the range and a seed, and for the name of the counter to be used.
|License||The LaTeX Project Public License|
|Contained in||TeX Live as lcg|
|MiKTeX as lcg|
perform calculations within TeX|
generate and/or use pseudo-random numbers
Download the contents of this package in one zip archive (248.5k).
Maybe you are interested in the following packages as well.
- randomwalk: Random walks using TikZ
- calctab: Language for numeric tables
- calculator: Use LaTeX as a scientific calculator
- bnumexpr: Extends ε-TeX’s \numexpr...\relax construct to big integers