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

TRNG::CLCG2 Class Reference

combined generator. More...

#include <trng.h>

Inheritance diagram for TRNG::CLCG2:

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

Public Methods

 CLCG2 (CLCG2_param param=CLCG2_param_sets::TRNG, long seed_=0l)
 constructor. More...


Detailed Description

This is a combined linear congruential random number generator with two generators.

Author:
Heiko Bauke

Definition at line 2286 of file trng.h.


Constructor & Destructor Documentation

TRNG::CLCG2::CLCG2 CLCG2_param    param = CLCG2_param_sets::TRNG,
long    seed_ = 0l
 

The constructor's default values implement a pseudo random number generator with

This generator has a period of . The multipliers were found by an exhausive search applying the spectral test in up to eight dimensions.

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:53 2003 for Tina's Random Number Generators by doxygen1.2.15