NegativeBinomialRV

constructor(prob: Double, numSuccess: Double, streamNum: Int)

Parameters

prob

the probability of success, must be in (0,1)

numSuccess

number of trials until rth success

streamNum

the stream number from the stream provider to use


constructor(probOfSuccess: Double, numSuccess: Double, stream: RNStreamIfc = KSLRandom.nextRNStream(), name: String? = null)

Parameters

probOfSuccess

the probability of success, must be in (0,1)

numSuccess

number of trials until rth success

stream

the stream from the stream provider to use