mir-random — Libmir Archive
Libmir Archive
API Reference Index
mir-random Guide
Dlang.org
DirichletVariable.opCall
mir
random
ndvariable
DirichletVariable
Generates Dirichlet-distributed random variates into `result` using generator `gen`.
void
opCall
(G gen, T[] result)
struct
DirichletVariable
(T)
pragma(
inline
, false)
void
opCall
(
G
)
(
scope
ref
G
gen
,
scope
T
[]
result
)
if
(
isSaturatedRandomEngine
!
G
)
if
(
isFloatingPoint
!
T
)
void
opCall
(G* gen, T[] result)
mir
random
ndvariable
DirichletVariable
aliases
Element
constructors
this
functions
opCall
manifest constants
isNdRandomVariable
variables
alpha
Generates Dirichlet-distributed random variates into `result` using generator `gen`.