Returns a floating-point number drawn from a normal (Gaussian)
distribution with mean mu and standard deviation sigma.
If no random number generator is specified, the default rndGen
will be used as the source of randomness.
Note that this function uses two variates from the uniform random
number generator to generate a single normally-distributed variate.
It is therefore an inefficient means of generating a large number of
normally-distributed variates. If you wish to draw many variates
from the normal distribution, it is better to use the range-based
normalDistribution instead.
Returns a floating-point number drawn from a normal (Gaussian) distribution with mean mu and standard deviation sigma. If no random number generator is specified, the default rndGen will be used as the source of randomness.
Note that this function uses two variates from the uniform random number generator to generate a single normally-distributed variate. It is therefore an inefficient means of generating a large number of normally-distributed variates. If you wish to draw many variates from the normal distribution, it is better to use the range-based normalDistribution instead.