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)
struct
SplitMixEngine
(alias mixer, bool split_enabled = false, OptionalArgs...)
@
nogc
nothrow pure @
safe
shared
void
seed
()
(
ulong
x0
)
if
(
!
increment_specifiable
)
if
(
(
__traits(
compiles
, ) ||
__traits(
compiles
, )
)
&&
(
OptionalArgs.length
< 1 ||
(
is
(
typeof
(
OptionalArgs
[1]) ==
ulong
) &&
OptionalArgs
[1] !=
DEFAULT_SPLITMIX_INCREMENT
)
)
&&
OptionalArgs.length
< 2
)
void
seed
(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
Compatibility with Phobos library methods. Presents this RNG as an InputRange.