tango v1.0.0+2.066 (2014-08-19T00:10:20Z)
Home
Dub
Repo
Ziggurat.create
tango
math
random
Ziggurat
Ziggurat
initializes the ziggurat
struct
Ziggurat
(RandG, T, alias probDensityF, alias tailGenerator, bool hasNegative = true)
static
Ziggurat
create
(
alias
invProbDensityF
alias
cumProbDensityFCompl
)
(
RandG
rGenerator
,
real
xLast
= -1.0L
,
bool
check_error
= true
)
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
initializes the ziggurat