The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SplitMixEngine.skip
mir
random
engine
splitmix
SplitMixEngine
Skip forward in the random sequence in
O
(1)
time.
void
skip
(size_t n)
void
skip
(size_t n)
struct
SplitMixEngine
(alias mixer, bool split_enabled = false, OptionalArgs...)
@
nogc
nothrow pure @
safe
shared
void
skip
()
(
size_t
n
)
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
Skip forward in the random sequence in O(1) time.