| Package | Description |
|---|---|
| math.rng |
Pseudo-random number generators
|
| Modifier and Type | Class and Description |
|---|---|
class |
Interleaved4Stc64
4 daisy-chained Stc64 generators that are called in
round-robin fashion, i.e., first gen_0, then gen_1, then
gen_2, then gen_3, then again gen_0 and so on. |
class |
Lcg64Xor1024Mix
The
L64X1024MixRandom algorithm from JDK 17 which uses a linear
congruential generator (LCG) as a first subgenerator and a Xor-based
generator (xoroshiro1024) as a second subgenerator and then applies a 64-bit
mixing function identified by Doug Lea. |
class |
Sfc64
Chris Doty-Humphrey's 256-bit "Small Fast Counting RNG" (
sfc64). |
class |
SplitMix64
64-bit
SplitMix-type pseudo random generator suggested by
Guy Steele, Doug Lea,
Christine Flood (2014). |
class |
Stc64
The 256-bit generator
Stc64 is Tyge Løvset's improved variation of
Sfc64. |
class |
XorShift1024Star
1024-bit Xorshift pseudo random generator suggested by
George Marsaglia
(2003) as studied by
Sebastiano Vigna (2016).
|
class |
XorShiftRot256PlusPlus
256-bit
xoshiro256++ pseudo random generator suggested by
David Blackman and Sebastiano
Vigna (2019). |
class |
XorShiftRot256StarStar
256-bit
xoshiro256** pseudo random generator suggested by
David Blackman and Sebastiano
Vigna (2019). |
| Modifier and Type | Method and Description |
|---|---|
static SplittablePseudoRandom |
Interleaved4Stc64.getDefault() |
static SplittablePseudoRandom |
Lcg64Xor1024Mix.getDefault() |
static SplittablePseudoRandom |
Sfc64.getDefault() |
static SplittablePseudoRandom |
SplitMix64.getDefault() |
static SplittablePseudoRandom |
Stc64.getDefault() |
static SplittablePseudoRandom |
XorShift1024Star.getDefault() |
static SplittablePseudoRandom |
XorShiftRot256PlusPlus.getDefault() |
static SplittablePseudoRandom |
XorShiftRot256StarStar.getDefault() |
SplittablePseudoRandom |
SplittablePseudoRandom.split()
Constructs and returns a new SplittablePseudoRandom instance that shares
no mutable state with the current instance.
|
Copyright © 2022. All rights reserved.