Skip to content
Reference > Methods

randSecGaussian()

Definition

Double randSecGaussian()

Description

Returns a random, Gaussian-distributed Double with a mean of 0.0 and a standard deviation of 1, this is secure.

Examples

1
2
3
Double r1 = randSecGaussian(); // r1 == 0.6645951631739089
Double r2 = randSecGaussian(); // r2 == 0.13510900277043836
Double r3 = randSecGaussian(); // r3 == 0.4383551322890409