The TeX Catalogue Online

random

Generating “random” numbers in TeX.

Generates pseudo-random integers in the range 1 to 2^{31}. Macros are to provide random integers in a given range, or random dimensions which can be used to provide random `real' numbers, are also available.

See also lcg.

The author is Donald Arseneau.

License: pd Version: 0.1 Catalogued: 2014-01-04