KSLCore
Toggle table of contents
R1.2.7
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
KSLCore
KSLCore
/
ksl.utilities.random.rng
/
RNStreamIfc
/
rNegBinomial
r
Neg
Binomial
open
fun
rNegBinomial
(
pSuccess
:
Double
,
rSuccesses
:
Double
)
:
Int
(
source
)
Return
the random value on range 1, 2, 3
Parameters
p
Success
the probability of success
r
Successes
number of trials until rth success