public class Well1024a extends AbstractWell
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 |
---|
Well1024a(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 Well1024a(int[] seed)
seed
- Initial seed.public int next()
next
in interface RandomIntSource
next
in class IntProvider
Copyright © 2016 The Apache Software Foundation. All rights reserved.