abstract class VariateVec extends Error
The VariateVec
abstract class serves as a base class for all the random
variate vector (RVV) 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
- VariateVec
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VariateVec(stream: Int = 0)
- stream
the random number stream
Abstract Value Members
-
abstract
def
gen: VectoD
Determine the next random double vector for the particular distribution.
-
abstract
def
igen: VectoI
Determine the next random integer vector for the particular distribution.
Determine the next random integer vector for the particular distribution. It is only valid for discrete random variates.
-
abstract
def
mean: VectoD
Compute the vector mean for the particular distribution.
-
abstract
def
pf(z: VectoD): 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.
Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.
- z
the mass point/vector whose probability is sought
Concrete Value Members
-
def
discrete: Boolean
Determine whether the distribution is discrete or continuous.
-
final
def
flaw(method: String, message: String): Unit
Show the flaw by printing the error message.
Show the flaw by printing the error message.
- method
the method where the error occurred
- message
the error message
- Definition Classes
- Error