Packages

abstract class VariateMat extends Error

The VariateMat abstract class serves as a base class for all the random variate matrix (RVM) 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. VariateMat
  2. Error
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VariateMat(stream: Int = 0)

    stream

    the random number stream

Abstract Value Members

  1. abstract def gen: MatrixD

    Determine the next random double matrix for the particular distribution.

  2. abstract def igen: MatrixI

    Determine the next random integer matrix for the particular distribution.

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

  3. abstract def mean: MatrixD

    Compute the matrix mean for the particular distribution.

  4. abstract def pf(z: MatrixD): Double

    Compute the probability function (pf): The probability density function (pdf) for continuous RVM's or the probability mass function (pmf) for discrete RVM's.

    Compute the probability function (pf): The probability density function (pdf) for continuous RVM's or the probability mass function (pmf) for discrete RVM's.

    z

    the mass point/matrix whose probability is sought

  5. abstract def rlegenc: RleMatrixD

    Determine the next random Rle matrix for the particular distribution.

    Determine the next random Rle matrix for the particular distribution. Repetition based upon runLength is used to create column vectors.

  6. abstract def rlegenr: RleMatrixD

    Determine the next random Rle matrix for the particular distribution.

    Determine the next random Rle matrix for the particular distribution. Repetition based upon runLength is used to create row vectors.

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