Go to the previous, next section.
#include <CNCL/TausG.h>
CN_TAUSG
CNRNG
None
CNRandom
CNTausG
is a Tausworth random number generator class.
This generator is a special form of the Fibonacci generator. The period length is reduced, but the mathematical formula is easier. It even can be implemented as a hardware shift register. Binomial Distribution Constructors:
CNTausG();
CNTausG(CNParam *param);
CNTausG
.
In addition to the member functions required by CNCL, CNTausG
provides:
virtual unsigned long as_long32();
virtual bool has_long32();
virtual void reset();
Go to the previous, next section.