DEmpirical List
constructor(elements: List<T>, theCDF: DoubleArray, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider)
Parameters
elements
the list of elements must not be null
the CDF
an array holding the cumulative probabilities across the elements in the list
stream Num
the random number stream number, defaults to 0, which means the next stream
stream Provider
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider