abstract class VariateSet extends Error
The VariateSet
abstract class serves as a base class for all the random
variate set (RVS) generators. They use one of the Random Number Generators
(RNG's) from Random.scala to generate numbers following their particular
multivariate distribution.
-----------------------------------------------------------------------------
- Alphabetic
- By Inheritance
- VariateSet
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VariateSet(stream: Int = 0)
- stream
the random number stream
Abstract Value Members
-
abstract
def
gen: Set[Double]
Determine the next random double set for the particular distribution.
-
abstract
def
igen: Set[Int]
Determine the next random integer set for the particular distribution.
Determine the next random integer set for the particular distribution. It is only valid for discrete random variates.
-
abstract
def
mean: Double
Compute the mean for the particular distribution.
-
abstract
def
pf(s: Set[Int]): Double
Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.