[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## D.12 `mtwist`

The `mtwist` library interfaces to a random number generator based on the Mersenne Twistor algorithm. The algorithm has good properties but is not meant to be cryptographically secure. The library functions are of the form

    library('mtwist',f)

where `f` is one of the followng character strings.

    bern   u_cont   u_disc   u_path   u_enum   w_disc   w_enum

Formally they are not mathematical functions because their results depend on a pseudo-random number that is not uniquely determined by their arguments. The numbers are generated deterministically in a sequence starting from a seed derived from the system clock at the time `avram` is launched, and each call uses the next number in the sequence. In so doing, it simulates a random draw from a uniformly distributed population.

This document was generated on November 8, 2012 using texi2html 1.82.