BernoulliRV

constructor(probOfSuccess: Double, streamNum: Int)

Parameters

probOfSuccess

the probability, must be in (0,1)

streamNum

the stream number


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

Parameters

probOfSuccess

the probability, must be in (0,1)

stream

the stream