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

TRNG::LCG32_param Class Reference

Parameter set for linear congruential generators. More...

#include <trng.h>

List of all members.

Public Methods

 LCG32_param (unsigned long a_, unsigned long b_)

Public Attributes

const unsigned long a
 multiplier.

const unsigned long b
 additive constant.


Detailed Description

This class implements the parameter set for linear congruential generators with modulus and is used by class LCG32. See also LCG32_param_sets.

Definition at line 1180 of file trng.h.


Constructor & Destructor Documentation

TRNG::LCG32_param::LCG32_param unsigned long    a_,
unsigned long    b_
[inline]
 

The parameter of the constructor specify the multiplier and the additive constant.

Parameters:
a_  multiplier
b_  additive constant

Definition at line 1190 of file trng.h.

References a, and b.


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