Packages

c

scalation.random

RandomMatD

case class RandomMatD(dim1: Int = 5, dim2: Int = 10, max: Double = 20.0, min: Double = 0.0, density: Double = 1.0, stream: Int = 0) extends VariateMat with Product with Serializable

The RandomMatD class generates a random matrix of doubles.

dim1

the number of rows in the matrix

dim2

the number of columns in the matrix

max

generate integers in the range 0 (inclusive) to max (inclusive)

min

generate integers in the range 0 (inclusive) to max (inclusive)

density

sparsity basis = 1 - density

stream

the random number stream

Linear Supertypes
Serializable, Serializable, Product, Equals, VariateMat, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RandomMatD
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. VariateMat
  7. Error
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomMatD(dim1: Int = 5, dim2: Int = 10, max: Double = 20.0, min: Double = 0.0, density: Double = 1.0, stream: Int = 0)

    dim1

    the number of rows in the matrix

    dim2

    the number of columns in the matrix

    max

    generate integers in the range 0 (inclusive) to max (inclusive)

    min

    generate integers in the range 0 (inclusive) to max (inclusive)

    density

    sparsity basis = 1 - density

    stream

    the random number stream

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _discrete: Boolean

    Indicates whether the distribution is discrete or continuous (default)

    Indicates whether the distribution is discrete or continuous (default)

    Attributes
    protected
    Definition Classes
    VariateMat
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val density: Double
  8. val dim1: Int
  9. val dim2: Int
  10. def discrete: Boolean

    Determine whether the distribution is discrete or continuous.

    Determine whether the distribution is discrete or continuous.

    Definition Classes
    VariateMat
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. 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
  14. def gen: MatrixD

    Determine the next random double matrix for the particular distribution.

    Determine the next random double matrix for the particular distribution.

    Definition Classes
    RandomMatDVariateMat
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. 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.

    Definition Classes
    RandomMatDVariateMat
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val max: Double
  19. def mean: MatrixD

    Compute the matrix mean for the particular distribution.

    Compute the matrix mean for the particular distribution.

    Definition Classes
    RandomMatDVariateMat
  20. val min: Double
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. 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

    Definition Classes
    RandomMatDVariateMat
  25. val r: Random

    Random number stream selected by the stream number

    Random number stream selected by the stream number

    Attributes
    protected
    Definition Classes
    VariateMat
  26. 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.

    Definition Classes
    RandomMatDVariateMat
  27. 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.

    Definition Classes
    RandomMatDVariateMat
  28. val stream: Int
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from VariateMat

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped