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.1705239145886896
Double r2 = randSecGaussian(); // r2 == -1.4410977689434028
Double r3 = randSecGaussian(); // r3 == -0.8632284511819965