MixtureRV

constructor(list: List<RVariableIfc>, cdf: DoubleArray, streamNum: Int)

Parameters

list

a list holding the random variables to select from

cdf

the cumulative probability associated with each element of the list

streamNum

the stream number


constructor(list: List<RVariableIfc>, cdf: DoubleArray, stream: RNStreamIfc = KSLRandom.nextRNStream())

Parameters

list

a list holding the random variables to select from

cdf

the cumulative probability associated with each element of the list

stream

the source of the randomness