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.
- Alphabetic
- By Inheritance
- Xoshiro256ss
- Serializable
- Product
- Equals
- RNG
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- 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.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- 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
- Xoshiro256ss → RNG
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val w: Long
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val x: Long
- val y: Long
- val z: Long
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated