An Ada implementation of Marsaglia's universal random number generator
ACM SIGAda Ada Letters
Efficient and portable combined random number generators
Communications of the ACM
The art of computer programming, volume 2 (3rd ed.): seminumerical algorithms
The art of computer programming, volume 2 (3rd ed.): seminumerical algorithms
Principles of Discrete Event Simulation
Principles of Discrete Event Simulation
Fundamentals of Performance Modeling
Fundamentals of Performance Modeling
Simulation Modeling and Analysis
Simulation Modeling and Analysis
Hi-index | 0.00 |
Four random number generators implemented in Ada are compared in terms of their equidistribution, independence, speed and period. Each generator is described and it's code presented. The tests used to evaluate the generators were simple ones. First, a stream of random numbers generated were checked for equidistribution by means of a chi-square test. Next, the numbers were checked for independence by means of a serial test. The code was then timed for a certain number of iterations. Finally, the reported periods of the generators are compared.