Packages

c

scalation.random

VariateVec

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

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

Instance Constructors

  1. new VariateVec(stream: Int = 0)

    stream

    the random number stream

Abstract Value Members

  1. abstract def gen: VectoD

    Determine the next random double vector for the particular distribution.

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

  3. abstract def mean: VectoD

    Compute the vector mean for the particular distribution.

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

  1. def discrete: Boolean

    Determine whether the distribution is discrete or continuous.

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