The trivial random generator: always returns the argument
Chooses an element from a collection.
Simply reevaluate the body every time get is called
Samples a gaussian with m mean and s std
Samples a gaussian with 0 mean and 1 std
Implements the Knuth shuffle of numbers from 0 to n.
Convert an Seq of Rand[T] into a Rand[Seq[T]]
Convert a Collection of Rand[T] into a Rand[Collection[T]]
Uniformly samples an integer in [n,m)
Uniformly samples an integer in [0,n)
Uniformly samples an integer in [0,MAX_INT]
Knuth shuffle of a subset of size n from a set
Uniformly samples in [0,1]
Provides standard combinators and such to use to compose new Rands.