Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

TRNG::YARNLCG64 Class Reference

YARN -- a modified linear recursive generator. More...

#include <trng.h>

Inheritance diagram for TRNG::YARNLCG64:

TRNG::RNG< YARNLCG64 > List of all members.

Public Methods

 YARNLCG64 (YARNLCG64_param param=YARNLCG64_param_sets::TRNG, long seed_=0l)
 constructor. More...


Detailed Description

This class implements a modified linear congruential pseudo random number generator with a power of two modulus of the form

To get a full period of and have to be choosen that and is odd. Linear structures are destroyed by the nonlinear bijective mapping

The parameter has to be a generating element of the multiplicative group modulo .

Author:
Heiko Bauke

Definition at line 1806 of file trng.h.


Constructor & Destructor Documentation

TRNG::YARNLCG64::YARNLCG64 YARNLCG64_param    param = YARNLCG64_param_sets::TRNG,
long    seed_ = 0l
 

The constructor's default values implement a pseudo random number generator with , and . This generator has a period of .

Parameters:
param  parameter set
seed_  default seed


The documentation for this class was generated from the following file:
Generated on Mon Apr 21 16:27:52 2003 for Tina's Random Number Generators by doxygen1.2.15