Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/lcg

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

lcg – Gen­er­ate ran­dom in­te­gers

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.

Li­cense The Project Public Li­cense
Copy­right2001,2003,2008 Erich Janka
Main­tainer Erich Janka
Con­tained inTeX Live as lcg
MiKTeX as lcg
Topics per­form cal­cu­la­tions within
gen­er­ate and/or use pseudo-ran­dom num­bers
See also random
Guest Book Sitemap Contact Contact Author