Discrete event modelling on SIMULA
Discrete event modelling on SIMULA
The art of computer programming, volume 2 (3rd ed.): seminumerical algorithms
The art of computer programming, volume 2 (3rd ed.): seminumerical algorithms
Simula Begin
Hi-index | 0.00 |
This paper discusses the techniques employed in implementing pseudo-random number generating routines in Demos (a discrete event simulation extension to Simula). We give a basic routine for generating random numbers uniform in the interval (0, 1) and show how this was built out to produce the other standard distributions such as randint, Poisson, negexp, etc.; then we show how the basic routine can be adapted to generate many well-separated seeds; and how to effect automatic reporting. The techniques can be employed with other random number generators and in languages other than Simula.