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 == -1.3045503136743497
Double r2 = randSecGaussian(); // r2 == 0.5031418753673258
Double r3 = randSecGaussian(); // r3 == -0.9434893011319457