toggle menu
KSLCore
R1.1.3
jvm
switch theme
search in API
KSLCore
/
ksl.utilities.distributions
/
Bernoulli
/
Bernoulli
Bernoulli
constructor
(
params
:
DoubleArray
,
name
:
String
?
)
constructor
(
successProb
:
Double
=
0.5
,
name
:
String
?
=
null
)
Parameters
success
Prob
the probability of success, must be between (0,1)
name
an optional name