The TeX Catalogue OnLine, Entry for lcg, Ctan Edition

#

Search | Home | Alpha | Brief | Topical | Hierarchical

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. The author is Erich Janka. See also random.
License: lppl Updated: 2001-02-27

Copyright (c) 1986-2004 . This page was generated 2004-11-03 01:38:49.