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

TRNG::EINV Class Reference

explicit inversive congruential generator. More...

#include <trng.h>

Inheritance diagram for TRNG::EINV:

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

Public Methods

 EINV (EINV_param param=EINV_param_sets::TRNG, long seed_=0l)
 constructor. More...


Detailed Description

This is an explicit inversive congruential generator with prime modulus.

This generator has a period of . This generator type has excelent statistical properties but its period is too short for large applications. You may combine this genrator with another one.

Author:
Heiko Bauke

Definition at line 2594 of file trng.h.


Constructor & Destructor Documentation

TRNG::EINV::EINV EINV_param    param = EINV_param_sets::TRNG,
long    seed_ = 0l
 

The default multiplier is , additive constant and modulus .

Parameters:
param  parameter set
seed_  seed


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