mir-random ~master (2021-09-01T06:24:04Z)
Dub
Repo
SplitMixEngine.front
mir
random
engine
splitmix
SplitMixEngine
Compatibility with
Phobos library methods
. Presents this RNG as an InputRange.
enum
bool
isUniformRandom
;
enum
ulong
min
;
enum
bool
empty
;
ulong
front
[@property getter]
struct
SplitMixEngine
(alias mixer, bool split_enabled = false, OptionalArgs...)
@
nogc
nothrow pure @
safe
@
property
const
ulong
front
()
(
)
if
(
(
__traits(
compiles
, ) ||
__traits(
compiles
, )
)
&&
(
OptionalArgs.length
< 1 ||
(
is
(
typeof
(
OptionalArgs
[1]) ==
ulong
) &&
OptionalArgs
[1] !=
DEFAULT_SPLITMIX_INCREMENT
)
)
&&
OptionalArgs.length
< 2
)
void
popFront
()
void
seed
(ulong x0)
void
seed
(ulong x0)
void
seed
(ulong x0, ulong increment)
typeof
(
this
)
save
[@property getter]
ulong
opIndex
(size_t n)
size_t
popFrontN
(size_t n)
alias
popFrontExactly
()
=
skip
Meta
Source
See Implementation
mir
random
engine
splitmix
SplitMixEngine
aliases
fmix64
gamma
popFrontExactly
constructors
this
functions
opCall
opIndex
popFront
popFrontN
seed
skip
split
postblits
this(this)
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.