The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SplitMixEngine.this
mir
random
engine
splitmix
SplitMixEngine
Constructs a
SplitMixEngine
generator seeded with
x0
.
this
(ulong x0)
struct
SplitMixEngine
(alias mixer, bool split_enabled = false, OptionalArgs...)
@
nogc
nothrow pure @
safe
this
()
(
ulong
x0
)
if
(
(
__traits(
compiles
, ) ||
__traits(
compiles
, )
)
&&
(
OptionalArgs.length
< 1 ||
(
is
(
typeof
(
OptionalArgs
[1]) ==
ulong
) &&
OptionalArgs
[1] !=
DEFAULT_SPLITMIX_INCREMENT
)
)
&&
OptionalArgs.length
< 2
)
this
(ulong x0, ulong increment)
Meta
Source
See Implementation
mir
random
engine
splitmix
SplitMixEngine
aliases
gamma
popFrontExactly
constructors
this
functions
opCall
opIndex
popFront
popFrontN
seed
skip
split
properties
front
save
variables
default_increment
empty
increment
increment_specifiable
isRandomEngine
isUniformRandom
max
min
period_pow2
state
Constructs a SplitMixEngine generator seeded with x0.