Method GaussianRandomFloat
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
GaussianRandomFloat(float, float)
Makes a generator that generates floats with a Gaussian distribution.
public static IGenerator<float> GaussianRandomFloat(float mean, float standardDeviation)Parameters
- meanfloat
- The mean of the distribution. Values generated will be centered around this point. 
- standardDeviationfloat
- The standard deviation of the distribution. The bigger this value, the flatter the distribution curve will be. 
Returns
- IGenerator<float>
- A new generator.