Packages

c

scalation.random

VariateSet

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. -----------------------------------------------------------------------------

Linear Supertypes
Error, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VariateSet
  2. Error
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VariateSet(stream: Int = 0)

    stream

    the random number stream

Abstract Value Members

  1. abstract def gen: Set[Double]

    Determine the next random double set for the particular distribution.

  2. 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.

  3. abstract def mean: Double

    Compute the mean for the particular distribution.

  4. 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.

Concrete Value Members

  1. def discrete: Boolean

    Determine whether the distribution is discrete or continuous.

  2. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error