BinomialRV

constructor(pSuccess: Double, numTrials: Int, streamNum: Int, name: String? = null)

Parameters

pSuccess

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

numTrials

the number of trials, must be greater than 0

streamNum

the stream number from the stream provider to use


constructor(pSuccess: Double, numTrials: Int, stream: RNStreamIfc = KSLRandom.nextRNStream(), name: String? = null)

Parameters

pSuccess

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

numTrials

the number of trials, must be greater than 0

stream

the stream from the stream provider to use

name

an optional name