Packages

case class Xoshiro256ss(x: Long, y: Long, z: Long, w: Long) extends RNG with Product with Serializable

Xoshiro256** pseudo-random number generator for 64-bit values. Mnemonic for the PRNG algorithm name is "xor/shift/rotate with 256-bits state". See here for definition.

This generator includes functions to significantly advance the current state (i.e. "jump") such that a LazyList of non-overlapping generators may be created to support sharding across multiple work streams without any individual work stream impacting the results produced by another.

x

State value #0.

y

State value #1.

z

State value #2.

w

State value #3.

Linear Supertypes
Serializable, Product, Equals, RNG, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Xoshiro256ss
  2. Serializable
  3. Product
  4. Equals
  5. RNG
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Xoshiro256ss(x: Long, y: Long, z: Long, w: Long)

    x

    State value #0.

    y

    State value #1.

    z

    State value #2.

    w

    State value #3.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def jump(): LazyList[Xoshiro256ss]

    This is the jump function for the generator.

    This is the jump function for the generator. It is equivalent to 2**128 calls to next(); it can be used to generate 2**128 non-overlapping subsequences for parallel computations. The generated LazyList is infinite and uses the last generated jump to seed the next series of jumps.

    returns

    An infinite LazyList of jumped generators.

  10. def longJump(): LazyList[Xoshiro256ss]

    This is the long-jump function for the generator.

    This is the long-jump function for the generator. It is equivalent to 2**192 calls to next(); it can be used to generate 2**64 starting points, from each of which jump() will generate 2**64 non-overlapping subsequences for parallel distributed computations. The generated LazyList is infinite and uses the last generated jump to seed the next series of jumps.

    returns

    An infinite LazyList of jumped generators.

  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def next32(): (RNG, Long)

    Generates the next 32 bits from the RNG and returns the next state.

    Generates the next 32 bits from the RNG and returns the next state.

    Definition Classes
    RNG
  13. def next64(): (Xoshiro256ss, Long)

    Generates the next 64 bits from the RNG and returns the next state.

    Generates the next 64 bits from the RNG and returns the next state.

    Definition Classes
    Xoshiro256ssRNG
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. val w: Long
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. val x: Long
  23. val y: Long
  24. val z: Long

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RNG

Inherited from AnyRef

Inherited from Any

Ungrouped