phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
LinearCongruentialEngine.seed
std
random
LinearCongruentialEngine
(Re)seeds the generator.
struct
LinearCongruentialEngine
(UIntType, UIntType a, UIntType c, UIntType m)
@
safe
pure nothrow @
nogc
void
seed
(
UIntType
x0
= 1
)
if
(
isUnsigned
!
UIntType
)
Meta
Source
See Implementation
std
random
LinearCongruentialEngine
constructors
this
functions
popFront
seed
properties
front
save
variables
empty
hasFixedRange
increment
isUniformRandom
max
min
modulus
multiplier
(Re)seeds the generator.