The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BernoulliVariable.this
mir
random
variable
BernoulliVariable
struct
BernoulliVariable
(T)
this
(
T
p
)
if
(
isFloatingPoint
!
T
)
Parameters
p
T
true
probability
Meta
Source
See Implementation
mir
random
variable
BernoulliVariable
constructors
this
functions
opCall
manifest constants
isRandomVariable
variables
max
min