There are 5 utilities.
- reseed-random-state v1.0
-
Reseed the random state use by the random number generator.
- Provides
reseed-random-state
- random-between v1.0
-
Generate a random integer between
a
andb
, inclusive.- Provides
random-between
- shuffle v1.0
-
Returns a random permutation of
sequence
bounded bystart
andend
. Original sequece may be destructively modified, and share storage with the original one. Signals an error ifsequence
is not a proper sequence.- Provides
shuffle
- Requires
- proper-list-length/last-car
- random-elt v1.0
-
Returns a random element from
sequence
bounded bystart
andend
. Signals an error if thesequence
is not a proper non-empty sequence, or ifend
andstart
are not proper bounding index designators forsequence
.- Provides
random-elt
- Requires
- proper-list-length/last-car
- gaussian-random v1.0
-
Returns two gaussian random double floats as the primary and secondary value, optionally constrained by
min
andmax
. Gaussian random numbers form a standard normal distribution around0.0d0
.Sufficiently positive
min
or negativemax
will cause the algorithm used to take a very long time. Ifmin
is positive it should be close to zero, and similarly ifmax
is negative it should be close to zero.- Provides
gaussian-random