Click or drag to resize
UtilNormal Method
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.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
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: Double
Random Gaussian value
See Also