|
|||
|
|
MDMC | ||
| Home | |||
| Consultancies | |||
|
|
Education | ||
|
|
Research | ||
| Facilities | |||
| Software | |||
| CaMML | |||
| DTree | |||
| Snob | |||
| Random Number Generators | |||
| People | |||
| Contacts | |||
|
|
Bibliography | ||
| Seminars | |||
|
|
Member Login | ||
MDMC Software - Random Number Generators
License Agreement These random generators are freely available for not-for-profit, academic research, and not for re-distribution. C.S. Wallace Uniform A uniform random number generator Exponential A fast generator of pseudo-random variates from the unit Exponential distribution. It keeps a pool of about 4100 variates, and generates new ones by picking 2 from the pool and repartitioning their sum, giving 2 new values which replace the old ones. Download:
FastNegExp.c
FastNegExp.h Normal FastNorm3 is the second revision of the algorithm decribed in A very fast generator of pseudo-random variates from the unit Normal distribution. It keeps a pool of about 1000 variates, and generates new ones by picking 4 from the pool, rotating the 4-vector with these as its components, and replacing the old variates with the components of the rotated vector. Now contains some fairly high-quality Uniform generators, and a straightforward implementation of a ChiSquared and Gamma generator copied from Ahrens and Dieter: Download:
FastNorm3.c
FastNorm3.h For more details about the algorithm, the revisions, and test results, please read the source file FastNorm3.c. Older versions are provided for historical research and data replication only.Previous versions of FastNormFastNorm and FastNorm2 have been replaced with FastNorm3. The use of the older versions is NOT RECOMMENDED. For details, see FastNorm3.c. However, researchers working on random number generators or wishing to replicate earlier results might wish to use older versions, despite deficiencies. They are provided here for that reason. FastNorm.c FastNorm.hFastNorm2.c FastNorm2.h intFastNorm2.c intFastNorm2.h |
| ||