A detailed technical manual has been prepared and it is included as an appendix to this guide. It goes into considerably greater depth on the technical issues that arise in generating random numbers. The first two supply integers at random, the last one supplies numbers on a continuum. This object will draw a positive integer at random within a user specified interval. The object uniformUnsRand is an instance of the Swarm class UniformUnsignedDist .
Readers can consult the documentation for a full explanation of all available options.
This object will draw an ingeger at random from an interval that may include negative or positive numbers. This object will draw a real number from a user-specified interval. Unlike the previous two, this distribution is not restricted to integers. These are global objects that can be used in any file that is part of a Swarm program. When a Swarm program starts, it initializes these random number creators.