This pattern uses the Box-Muller transform to generate a gaussian distribution from uniformly distributed values: sqrt(-2 * log(1.0.rand)) * sin(2pi.rand)
mean |
The mean of the distribution. |
dev |
The spread of values around the mean (standard deviation). |
length |
Number of values produced. |