RandomSet
The RandomSet
class generates a random set/subset of integers.
Value parameters
- count
-
the size of the set (number of integer elements)
- max
-
generate integers in the range 0 (inclusive) to max (inclusive)
- skip
-
skip this number, i.e, do not use it
- stream
-
the random number stream
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass VariateSetclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Determine the next random double set for the particular distribution.
Determine the next random double set for the particular distribution.
Attributes
Generate a random set of unique integers 'r' in the range '0 to max'. The size of the set is given by 'count'.
Generate a random set of unique integers 'r' in the range '0 to max'. The size of the set is given by 'count'.
Attributes
Generate a random set of unique integers 'r' in the range '0 to mx'.
Generate a random set of unique integers 'r' in the range '0 to mx'.
Value parameters
- mx
-
generate integers in the range 0 (inclusive) to 'mx' (inclusive)
- n
-
the size of the resultant random subset r
- skp
-
skip this number, i.e, do not use it
Attributes
Generate a set of unique integers 'r' that is a random subset of set 's'.
Generate a set of unique integers 'r' that is a random subset of set 's'.
Value parameters
- n
-
the size of the resultant random subset r
- s
-
the given set
Attributes
Compute the mean for the particular distribution.
Compute the mean for the particular distribution.
Attributes
Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.
Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.
Value parameters
- z
-
the mass point/set whose probability is sought
Attributes
Inherited methods
Determine whether the distribution is discrete or continuous.
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product