CTAN Comprehensive TeX Archive Network

lcg – Generate random integers

The lcg pack­age gen­er­ates ran­dom num­bers (in­te­gers) via a lin­ear con­gru­en­tial gen­er­a­tor (Schrage’s method). The ran­dom num­bers are writ­ten to a counter. The key­val pack­age is used for the user to pro­vide val­ues for the range and a seed, and for the name of the counter to be used.

Sources/macros/latex/contrib/lcg
Doc­u­men­ta­tion
Ver­sion1.3
Li­censesThe Project Public Li­cense
Copy­right2001, 2003, 2008 Erich Janka
Main­tainerErich Janka
Con­tained inTeX Live as lcg
MiKTeX as lcg
TopicsRan­dom
Cal­cu­la­tion
See alsorandom

Down­load the con­tents of this pack­age in one zip archive (248.5k).

Com­mu­nity Com­ments

Load­ing...
Guest Book Sitemap Contact Contact Author