sfmtd ~var-enum-names (2021-12-26T17:12:35.9135326)
Dub
Repo
SFMT
sfmt
Undocumented in source.
struct
SFMT (
sfmt
.
internal
.
Parameters
parameters
) {
enum
mersenneExponent
;
enum
n
;
enum
size
;
enum
m
;
enum
shifts
;
enum
masks
;
enum
parity
;
enum
id
;
alias
recursion
=
sfmt
.
internal
.
recursion
!(
shifts
,
masks
)
;
this
(uint seed);
this
(uint[] seed);
void
printState
();
void
fillState
(ubyte b);
void
seed
(uint seed);
void
seed
(uint[] seed);
version
(!
Big32
)
T
next
();
version
(!
Big64
)
T
next
();
T
next
(size_t size);
ucent_
[
n
]
state
;
int
idx
;
bool
assureLongPeriod
();
}
Constructors
this
this
(uint seed)
Undocumented in source.
this
this
(uint[] seed)
Undocumented in source.
Members
Aliases
recursion
alias
recursion
=
sfmt
.
internal
.
recursion
!(
shifts
,
masks
)
Undocumented in source.
Functions
assureLongPeriod
bool
assureLongPeriod
()
returns true if modification is done
fillState
void
fillState
(ubyte b)
Undocumented in source. Be warned that the author may not have intended to support it.
next
T
next
()
Undocumented in source. Be warned that the author may not have intended to support it.
next
T
next
()
Undocumented in source. Be warned that the author may not have intended to support it.
next
T
next
(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
printState
void
printState
()
Undocumented in source. Be warned that the author may not have intended to support it.
seed
void
seed
(uint seed)
Undocumented in source. Be warned that the author may not have intended to support it.
seed
void
seed
(uint[] seed)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
id
enum
id
;
Undocumented in source.
m
enum
m
;
Undocumented in source.
masks
enum
masks
;
Undocumented in source.
mersenneExponent
enum
mersenneExponent
;
Undocumented in source.
n
enum
n
;
Undocumented in source.
parity
enum
parity
;
Undocumented in source.
shifts
enum
shifts
;
Undocumented in source.
size
enum
size
;
Undocumented in source.
Variables
idx
int
idx
;
Undocumented in source.
state
ucent_
[
n
]
state
;
Undocumented in source.
Meta
Source
See Implementation
sfmt
structs
SFMT