Random Module
Uniform random number generators
Types
| Type | Description |
Functions and values
| Function or value | Description |
Full Usage:
GetSampleGenerator ()
Parameters:
unit
Returns: IRandom
The current random number generator used for sampling.
|
|
Full Usage:
SetSampleGenerator rg
Parameters:
IRandom
-
The random number generator to use for sampling.
|
|
Full Usage:
boxMullerTransform ()
Parameters:
unit
Returns: float * float
A tuple of two independent, standard, normally distributed random numbers.
|
This method uses the current random number generator to generate two uniform random numbers, and then applies the Box-Muller transform to convert them into a pair of independent, standard, normally distributed random numbers.
|
FSharp.Stats