Packages

object RNGTest extends App with Error

The RNGTest object conducts three simple tests of the Random Number Generators: (1) Speed Test, (2) Means Test and (3) Chi-square Goodness of Fit Test. FIX: need to add (3) Variance Test and (4) K-S Goodness of Fit Test. > runMain scalation.random.RNGTest

Linear Supertypes
Error, App, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RNGTest
  2. Error
  3. App
  4. DelayedInit
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def distrTest(rn: RNG): Unit

    Perform a Chi-square Goodness of Fit Test.

    Perform a Chi-square Goodness of Fit Test. Compare the random number's histogram (generated by repeatedly calling 'gen') to the probability function pf (pdf).

    rn

    the random number generator to test

  2. val executionStart: Long
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  3. 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
  4. val generators: Array[RNG with Product with Serializable]
  5. def main(args: Array[String]): Unit
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
  6. def meansTest(rn: RNG): Unit

    Perform a Means Test (average of generated rn's close to mean for distribution).

    Perform a Means Test (average of generated rn's close to mean for distribution).

    rn

    the random number generator to test

Deprecated Value Members

  1. def delayedInit(body: ⇒ Unit): Unit
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) the delayedInit mechanism will disappear