The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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.