#include <trng.h>
Inheritance diagram for TRNG::LCG32:
Public Methods | |
LCG32 (LCG32_param param=LCG32_param_sets::VAX, 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. If
the maximal period is
. A generator with
has a full period if
.
Definition at line 1227 of file trng.h.
|
The constructor's default values implement a pseudo random number generator used on VAX. This generator has a period of
|