AZ logo

Package 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.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX lcg
TeX Live lcg

You can also visit lcg's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Package documentation
Documentation off CTAN -none known-
Maintainers
Erich Janka
Version 1.2
License LaTeX Project Public License
Related packages
random:
Generating "random" numbers in TeX.
Keywords
macro programming
Characterizations
primary:
Programming in TeX > Programming structures

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.