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

TRNG::CLCG4_param Class Reference

Parameter set for combined linear congruential generators. More...

#include <trng.h>

List of all members.

Public Methods

 CLCG4_param (long a1_, long modulus1_, long a2_, long modulus2_, long a3_, long modulus3_, long a4_, long modulus4_)

Public Attributes

const long a1
 multiplier of 1st generator.

const long modulus1
 prime modulus of 1st generator.

const long a2
 multiplier of 2nd generator.

const long modulus2
 prime modulus of 2nd generator.

const long a3
 multiplier of 3rd generator.

const long modulus3
 prime modulus of 3rd generator.

const long a4
 multiplier of 4th generator.

const long modulus4
 prime modulus of 4th generator.


Detailed Description

This class implements the parameter set for combined linear congruential generators with prime moduli and is used by class CLCG4. See also CLCG4_param_sets.

Definition at line 2441 of file trng.h.


Constructor & Destructor Documentation

TRNG::CLCG4_param::CLCG4_param long    a1_,
long    modulus1_,
long    a2_,
long    modulus2_,
long    a3_,
long    modulus3_,
long    a4_,
long    modulus4_
[inline]
 

The parameter of the constructor specify the multipliers and the prime moduli.

Parameters:
a1_  multiplier of 1st generator
modulus1_  prime modulus of 1st generator
a2_  multiplier of 2nd generator
modulus2_  prime modulus of 2nd generator
a3_  multiplier of 3rd generator
modulus3_  prime modulus of 3rd generator
a4_  multiplier of 4rd generator
modulus4_  prime modulus of 4rd generator

Definition at line 2463 of file trng.h.


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