Random
object Random
Content copied to clipboard
Random A thread safe secure random number generating utiity.
Functions
next Boolean
Link copied to clipboard
Generates a random boolean.
next Double
Link copied to clipboard
Returns the next pseudo-random double.
Returns the next pseudo-random double, distributed between min and max.
next Gaussian
Link copied to clipboard
Returns the next pseudorandom, Gaussian ("normally") distributed double
value with mean 0.0
and standard deviation 1.0
.
Returns a pseudo-random gaussian distributed number between the given min and max with the provided standard deviation.