Global Function
Declaration
func randomGaussian() -> Double
Parameters
| None |
Returns
Double
Description
Generates a random value in a normal distribution, in the range -1 to 1. The mean value is 0. Deviation is 0.3334. Uses the GKGaussianDistribution generator in the GameplayKit framework.
Examples
let n = randomGaussianRelated