[Home] Module FlyingFrog.Random


Random number generators

Type Definitions

TypeDescription
type MersenneTwister Mersenne Twister random number generator with local state

Values

ValueDescription
val float : unit -> float
Generate a random float in [0, 1) using global thread-safe state
val gaussian : unit -> float
Generate a random float from the Normal (Gaussian) distribution with zero mean and unit variance using global thread-safe state
val gaussian32 : unit -> float32
Generate a random float from the Normal (Gaussian) distribution with zero mean and unit variance using global thread-safe state
val int : unit -> int
Generate a random signed 32-bit integer using global thread-safe state
val int64 : unit -> int64
Generate a random signed 64-bit integer using global thread-safe state
val uint32 : unit -> uint32
Generates a random unsigned 32-bit int using global thread-safe state
val uint64 : unit -> uint64
Generate a random unsigned 64-bit integer using global thread-safe state

See Also

FlyingFrog


Documentation for assembly FSharpForNumerics, version 0.2.0.2, generated using F# Programming Language version 1.9.6.16