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.5526137440398708
Double r2 = randSecGaussian(); // r2 == 0.06268080663335923
Double r3 = randSecGaussian(); // r3 == 0.02319078918737729