The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BernoulliVariable.opCall
mir
random
variable
BernoulliVariable
bool
opCall
(RNG gen)
bool
opCall
(RNG* gen)
struct
BernoulliVariable
(T)
bool
opCall
(
RNG
)
(
scope
RNG
*
gen
)
if
(
isSaturatedRandomEngine
!
RNG
)
if
(
isFloatingPoint
!
T
)
Meta
Source
See Implementation
mir
random
variable
BernoulliVariable
constructors
this
functions
opCall
manifest constants
isRandomVariable
variables
max
min