The variates package provides portable random number generation as well as numerous distributions.
basic-random-number-generator | Root superclass for all random number generators. |
---|---|
ran1-random-number-generator | From Numerical Recipes in C: |
random-number-generation-mixin | Mixing this class into another class will make it appear to be a random number generator. The new... |
ranq1-random-number-generator | From Numerical Recipes in C: |
*probability-of-heads* | The default probably used in calls to flip (and therefore in calls to |
---|---|
*random-generator* | This variable takes the place of CL's random-state. It can be supplied as |
binomial | Flip a coin (using flip) |
---|---|
exponential-random | Return a single element from the exponential distribution. |
exponential-random* | |
flip | Flip a pseudo-random coin and return true if it comes up heads. The default |
geometric | Returns a sample from the geometric distribution with probability |
integer-random | Returns a integer pseudo random number between low (inclusive) and high (inclusive). |
make-random-number-generator | Return a new random number generator of class |
normal-random | Returns a normally distributed double-float pseudo random number |
normal-random* | Gets a single value sampled from the normal distribution with mean |
produce-random-bit-file | |
rand | Simple standin for Common Lisp random function. [[?? remove, just type more]] |
random-boolean | Returns T with probability given. Defaults to 0.5d0. |
random-element | Returns a element selected from sequence uniformly at random. Start and end can be supplied to se... |
random-range | Returns a pseudo random number between low (inclusive) and high (exclusive or inclusive depending... |
random-range-inclusive | Returns a pseudo random number between low and high (both inclusive). If low and high are both in... |
random-sample-with-range | |
sample-sequence | Returns a sub-sequence of |
select-sample | Returns a bit vector of size total-size with exactly sample-size |
uniform-random | Returns a double-float pseudo random number between low (inclusive) |
initialize-random-number-generator | (Internal) (Re)initialize a random number generator. Called |
---|---|
next-element | Returns the next pseudo random number from a random number |
random-seed | Returns the original random seed of the generator. |
shuffle-elements! | Destructively rearrange the elements of a container by performing 'times' swaps. If times is not ... |