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.IndexTable
index, v
Constructor and Description |
---|
Well19937c(int[] seed)
Creates a new random number generator.
|
Modifier and Type | Method and Description |
---|---|
int |
next() |
getStateInternal, setStateInternal
nextBoolean, nextBytes, nextBytes, nextDouble, nextFloat, nextInt, nextLong
checkIndex, checkStateSize, fillState, fillState, nextInt, nextLong, restoreState, saveState, toString
public Well19937c(int[] seed)
seed
- Initial seed.public int next()
next
in interface RandomIntSource
next
in class Well19937a
Copyright © 2016 The Apache Software Foundation. All rights reserved.