tango ~master (2025-06-29T14:40:56.0544651)
Dub
Repo
Ziggurat.getRandom
tango
math
random
Ziggurat
Ziggurat
returns a single value with the probability distribution of the current Ziggurat
struct
Ziggurat
(RandG, T, alias probDensityF, alias tailGenerator, bool hasNegative = true)
T
getRandom
(
)
Meta
Source
See Implementation
tango
math
random
Ziggurat
Ziggurat
aliases
SourceT
functions
getFastRandom
getRandom
randomize
randomizeOp
static functions
create
templates
randomizeOp2
variables
fVal
nBlocks
posBlock
r
returns a single value with the probability distribution of the current Ziggurat