Indicates whether the distribution is discrete or continuous (default)
Indicates whether the distribution is discrete or continuous (default)
whether dist is cumulative (cdf) or not (pmf)
Determine whether the distribution is discrete or continuous.
Determine whether the distribution is discrete or continuous.
the distribution function (pdf or cdf)
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Determine the next random number for the particular distribution.
Determine the next random integer for the particular distribution.
Determine the next random integer for the particular distribution. It is only valid for discrete random variates.
Pre-compute the mean for the particular distribution.
Compute the probability function (pf): Either (a) the probability density function (pdf) for continuous RV's or (b) the probability mass function (pmf) for discrete RV's.
Return the entire probability mass function (pmf) for finite discrete RV's.
Return the entire probability mass function (pmf) for finite discrete RV's.
number of objects of the first type
Random number stream selected by the stream number
Random number stream selected by the stream number
the random number stream
the x-coordinate values (mass points)
This class generates generalized
Discrete
random variates for a given distribution specified using either a probability mass function (pmf) or a cumulative distribution function (cdf). This discrete RV models arbitrary experiments with discrete outcomes.the distribution function (pdf or cdf)
the x-coordinate values (mass points)
whether dist is cumulative (cdf) or not (pmf)
the random number stream