Sharp
This class generates Sharp
(Deterministic) random variates. This discrete RV models the case when the variance is 0.
Value parameters
- stream
-
the random number stream
- x
-
the value for this constant distribution
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Variateclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Determine the next random number for the particular distribution.
Determine the next random number for the particular distribution.
Attributes
Determine the next random number for the particular distribution. This version allows one parameter.
Determine the next random number for the particular distribution. This version allows one parameter.
Value parameters
- z
-
the limit parameter
Attributes
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.
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.
Value parameters
- z
-
the mass point whose probability density/mass is sought
Attributes
Inherited methods
Determine whether the distribution is discrete or continuous.
Determine the next random integer for the particular distribution. It is only valid for discrete random variates.
Determine the next random integer for the particular distribution. It is only valid for discrete random variates.
Attributes
- Inherited from:
- Variate
Determine the next random integer for the particular distribution. It is only valid for discrete random variates. This version allows one parameter.
Determine the next random integer for the particular distribution. It is only valid for discrete random variates. This version allows one parameter.
Value parameters
- z
-
the limit parameter
Attributes
- Inherited from:
- Variate
Return the entire probability mass function (pmf) for finite discrete RV's.
Return the entire probability mass function (pmf) for finite discrete RV's.
Value parameters
- k
-
number of objects of the first type
Attributes
- Inherited from:
- Variate
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Determine the next random string for the particular distribution. For better random strings, overide this method.
Determine the next random string for the particular distribution. For better random strings, overide this method.
Attributes
- Inherited from:
- Variate
Determine the next random string for the particular distribution. For better random strings, overide this method. This version allows one parameter.
Determine the next random string for the particular distribution. For better random strings, overide this method. This version allows one parameter.
Value parameters
- z
-
the limit parameter
Attributes
- Inherited from:
- Variate
Concrete fields
Precompute the mean for the particular distribution.
Precompute the mean for the particular distribution.