r Neg Binomial
Return
the random value
Parameters
p Success
the probability of success
r Successes
number of trials until rth success
stream Num
the stream number from the stream provider to use
fun rNegBinomial(pSuccess: Double, rSuccesses: Double, stream: RNStreamIfc = defaultRNStream()): Int
Return
the random value
Parameters
p Success
the probability of success
r Successes
number of trials until rth success
stream
the random number stream