VariateSet

scalation.random.VariateSet
abstract class VariateSet(stream: Int)

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.

Value parameters

stream

the random number stream (0 until N_STREAMS)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class RandomSet
class RandomSetS
class RandomSetW

Members list

Value members

Abstract methods

def gen: Set[Double]

Determine the next random double set for the particular distribution.

Determine the next random double set for the particular distribution.

Attributes

def igen: Set[Int]

Determine the next random integer set for the particular distribution. It is only valid for discrete random variates.

Determine the next random integer set for the particular distribution. It is only valid for discrete random variates.

Attributes

def mean: Double

Compute the mean for the particular distribution.

Compute the mean for the particular distribution.

Attributes

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.

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

Concrete methods

def discrete: Boolean

Determine whether the distribution is discrete or continuous.

Determine whether the distribution is discrete or continuous.

Attributes