Add a Normal distribution to the System.Random class.
This is an extension method and may be used as if it were an instance method on Random.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax static member Normal :
x : Random *
mean : float *
sd : float -> float
Parameters
- x
- Type: SystemRandom
The instance of System.Random (ignore) - mean
- Type: SystemDouble
Mean of returned value - sd
- Type: SystemDouble
Standard deviation of returned value
Return Value
Type:
DoubleRandom Gaussian value
See Also