Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
RNGTaus Class Reference

Combined Tausworthe uniform pseudo-random number generator. More...

#include <rnd.h>

List of all members.

Public Member Functions

 RNGTaus (uint32_t seed)
uint32_t operator() ()
 Generates uniform random unsigned integer in [0, 2^32).
void operator= (uint32_t seed)
 Set seed.
void seed (uint32_t s1, uint32_t s2, uint32_t s3, uint32_t s4)
 Set seed.

Detailed Description

Combined Tausworthe uniform pseudo-random number generator.

This generator produces highly random numbers, but is more expensive than than a linear congruential RNG. It is based on the paper P. L'Ecuyer, "Maximally Equidistributed Combined Tausworthe Generators", Mathematics of Computation, 65, 213 (1996), 203--213. http://www.iro.umontreal.ca/~lecuyer/papers.html


Constructor & Destructor Documentation

RNGTaus ( uint32_t  seed)
Parameters:
[in]seedInitial seed value

The documentation for this class was generated from the following file: