NegativeBinomialRV

constructor(probOfSuccess: Double, numSuccess: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)

Parameters

probOfSuccess

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

numSuccess

number of trials until rth success

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

an optional name