The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SplitMixEngine.seed
mir
random
engine
splitmix
SplitMixEngine
Compatibility with
Phobos library methods
. Presents this RNG as an InputRange.
void
seed
(ulong x0)
void
seed
(ulong x0)
void
seed
(ulong x0, ulong increment)
struct
SplitMixEngine
(alias mixer, bool split_enabled = false, OptionalArgs...)
@
nogc
nothrow pure @
safe
void
seed
()
(
ulong
x0
,
ulong
increment
)
if
(
increment_specifiable
)
if
(
(
__traits(
compiles
, ) ||
__traits(
compiles
, )
)
&&
(
OptionalArgs.length
< 1 ||
(
is
(
typeof
(
OptionalArgs
[1]) ==
ulong
) &&
OptionalArgs
[1] !=
DEFAULT_SPLITMIX_INCREMENT
)
)
&&
OptionalArgs.length
< 2
)
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
Compatibility with Phobos library methods. Presents this RNG as an InputRange.