math.random.gauss

Syntax

f = math.random.gauss

Get a Gaussian random number. The number is drawn from the Gaussian distribution with mean 0.0 and standard deviation 1.0. The standard deviation and mean may be modified by multiplying the returned number by a factor and adding an offset.

Returns:f - Gaussian random number