Returns a random number from a Gaussian (or normal) distribution.
Height of distribution
Mean of distribution
Standard deviation of distribution
// Standard Gaussian distributionconst gaussRandom = Chalkboard.numb.Gaussian(1, 0, 1 / Chalkboard.real.sqrt(Chalkboard.PI(2))); Copy
// Standard Gaussian distributionconst gaussRandom = Chalkboard.numb.Gaussian(1, 0, 1 / Chalkboard.real.sqrt(Chalkboard.PI(2)));
Generated using TypeDoc
Returns a random number from a Gaussian (or normal) distribution.