#include <trng.h>
Inheritance diagram for TRNG::LCG32:
Public Methods | |
LCG32 (unsigned long a_=69069ul, unsigned long b_=1ul, long seed_=0l) | |
constructor. More... |
is the actual pseudo random number. To get a full period of
and
have to be choosen that
and
is odd.
Definition at line 1145 of file trng.h.
|
The constructor's default values implement a pseudo random number generator used on VAX. This generator has a period of
|