DUniform
class DUniform(min: Int = 0, max: Int = 1, name: String? = null) : Distribution, DiscreteDistributionIfc, RVParametersTypeIfc(source)
Models discrete random variables that are uniformly distributed over a contiguous range of integers. the lower limit must be < upper limit
Parameters
min
The lower limit of the range
max
The upper limit of the range
name
an optional name/label
Constructors
Properties
Functions
Link copied to clipboard
Gets the parameters for the distribution where parameters0 is the lower limit and parameters1 is the upper limit of the range.
Sets the parameters for the distribution where parameters0 is the lower limit and parameters1 is the upper limit of the range. the lower limit must be < upper limit
Link copied to clipboard
open override fun randomVariable(streamNumber: Int, streamProvider: RNStreamProviderIfc): DUniformRV
Promises to return a random variable that uses the supplied stream number using the supplied stream provider