spire.random

WellPrng

class WellPrng extends AnyRef

Implements the WELL PRNG (Well Equidistributed Long-period Linear), developed by F. Panneton, P. L'Ecuyer, and M. Matsumoto.

This class uses WELL512a, which contains 512 bits of state.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WellPrng
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WellPrng(_i: Int, state: Array[Int])

    Attributes
    protected[spire.random]

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def copy(): WellPrng

    Generates a copy of this PRNG (with independent state).

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. var i: Int

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def m1: Int

    Annotations
    @inline()
  17. final def m2: Int

    Annotations
    @inline()
  18. final def mat0neg(t: Int, v: Int): Int

    Annotations
    @inline()
  19. final def mat0pos(t: Int, v: Int): Int

    Annotations
    @inline()
  20. final def mat3neg(t: Int, v: Int): Int

    Annotations
    @inline()
  21. final def mat4neg(t: Int, b: Int, v: Int): Int

    Annotations
    @inline()
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def next(n: Int): Int

    Generates a random integer using n bits of state (0 <= n <= 32).

  24. def nextBoolean(): Boolean

    Generates a random Boolean.

  25. def nextBytes(bytes: Array[Byte]): Unit

    Initializes the given byte array to random bytes.

  26. def nextDouble(): Double

    Generates a random double in the interval 0.

    Generates a random double in the interval 0.0 (inclusive) to 1.0 (exclusive).

  27. def nextFloat(): Float

    Generates a random float in the interval 0.

    Generates a random float in the interval 0.0 (inclusive) to 1.0 (exclusive).

  28. def nextInt(n: Int): Int

    Generates a random int between 0 (inclusive) and n (exclusive).

    Generates a random int between 0 (inclusive) and n (exclusive). All values should be equally likely.

  29. def nextInt(): Int

    Generates a random int.

    Generates a random int. All 32-bit int values are equally likely.

  30. def nextLong(): Long

    Generates a random long.

    Generates a random long. All 64-bit long values are equally likely.

  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def v0(i: Int): Int

    Annotations
    @inline()
  36. final def vm1(i: Int): Int

    Annotations
    @inline()
  37. final def vm2(i: Int): Int

    Annotations
    @inline()
  38. final def vrm1(i: Int): Int

    Annotations
    @inline()
  39. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped