KSLCore
Toggle table of contents
R1.2.1
jvm
Platform filter
jvm
Switch theme
Search in API
KSLCore
KSLCore
/
ksl.utilities.random.rng
/
RNStreamIfc
/
rBernoulli
r
Bernoulli
open
fun
rBernoulli
(
pSuccess
:
Double
=
0.5
)
:
Double
Return
the random value
Parameters
p
Success
the probability of success, must be in (0,1)