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