KSLCore
Toggle table of contents
R1.1.9
jvm
Platform filter
jvm
Switch theme
Search in API
KSLCore
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