Handbook
Glossary
sfmt-state
Vocabulary
random
.
sfmt
.
private
Definition
USING:
alien.c-types
classes.struct
math.vectors.simd
;
IN:
random.sfmt.private
STRUCT:
sfmt-state
{
seed
uint
initial:
0
}
{
n
uint
initial:
0
}
{
m
uint
initial:
0
}
{
index
uint
initial:
0
}
{
mask
uint-4
initial:
uint-4{
0 0 0 0
}
}
{
parity
uint-4
initial:
uint-4{
0 0 0 0
}
}
{
r1
uint-4
initial:
uint-4{
0 0 0 0
}
}
{
r2
uint-4
initial:
uint-4{
0 0 0 0
}
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
random.sfmt.private
;
M:
sfmt-state
clone
clone-underlying
\
sfmt-state
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
random.sfmt.private
;
M:
sfmt-state
struct-slot-values
{
[
seed>>
]
[
n>>
]
[
m>>
]
[
index>>
]
[
mask>>
]
[
parity>>
]
[
r1>>
]
[
r2>>
]
}
cleave>array
;
inline