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

TRNG::CLCG2_param Class Reference

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

#include <trng.h>

List of all members.

Public Methods

 CLCG2_param (long a1_, long modulus1_, long a2_, long modulus2_)

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.


Detailed Description

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

Definition at line 2247 of file trng.h.


Constructor & Destructor Documentation

TRNG::CLCG2_param::CLCG2_param long    a1_,
long    modulus1_,
long    a2_,
long    modulus2_
[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

Definition at line 2261 of file trng.h.

References a1, a2, modulus1, and modulus2.


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