public class Well19937c extends Well19937a
This generator is described in a paper by François Panneton, Pierre L'Ecuyer and Makoto Matsumoto Improved Long-Period Generators Based on Linear Recurrences Modulo 2 ACM Transactions on Mathematical Software, 32, 1 (2006). The errata for the paper are in wellrng-errata.txt.
AbstractWell.IndexTableindex, v| Constructor and Description |
|---|
Well19937c(int[] seed)
Creates a new random number generator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
next() |
getStateInternal, setStateInternalnextBoolean, nextBytes, nextBytes, nextDouble, nextInt, nextLong, resetCachedStatecheckIndex, checkStateSize, composeStateInternal, extendSeed, extendSeed, fillState, fillState, restoreState, saveState, splitStateInternal, toStringpublic Well19937c(int[] seed)
seed - Initial seed.public int next()
next in interface RandomIntSourcenext in class Well19937aCopyright © 2016–2022 The Apache Software Foundation. All rights reserved.