CTAN Comprehensive TeX Archive Network

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.

Sources/macros/latex/contrib/lcg
Documentation
Version1.3
LicensesThe Project Public License
Copyright2001, 2003, 2008 Erich Janka
MaintainerErich Janka
Contained inTeX Live as lcg
MiKTeX as lcg
TopicsCalculation
Random
See alsorandom

Download the contents of this package in one zip archive (248.5k).

Community Comments

Loading...
Guest Book Sitemap Contact Contact Author