Rand

constructor()(source)

Creates a new random number generator initialized with a seed taken either from /dev/urandom (if existing) or from the current time (as a fallback).

On Windows, the seed is taken from rand_s().

Return

the new #GRand


constructor(seed: <Error class: unknown class>)(source)

Creates a new random number generator initialized with @seed.

Return

the new #GRand

Parameters

seed

a value to initialize the random number generator


constructor(glibRandPointer: <Error class: unknown class><<Error class: unknown class>>)(source)