public class RandomWELL44497b extends RandomEngine
Implementation of WELL 44497b (Well Equidistributed Long-period Linear) random number generator by Francois Panneton, et al. The period is approximately 2^44497.
Paper: Panneton, F. and L'Ecuyer, P. Improved (2006) Long-Period Generators Based on Linear Recurrences Modulo 2, ACM Transaction on Mathematical Software 32:1, pp 1--16(link)
Constructor and Description |
---|
RandomWELL44497b() |
RandomWELL44497b(int[] init) |
Modifier and Type | Method and Description |
---|---|
RandomWELL44497b |
clone() |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int n) |
long |
nextLong() |
long |
nextLong(long l) |
void |
setSeed(long seed) |
getSeed, random
public RandomWELL44497b()
public RandomWELL44497b(int[] init)
public void setSeed(long seed)
setSeed
in class RandomEngine
public final double nextGaussian()
nextGaussian
in class RandomEngine
public double nextDouble()
nextDouble
in class RandomEngine
public float nextFloat()
nextFloat
in class RandomEngine
public RandomWELL44497b clone()
clone
in class RandomEngine
public int nextInt()
nextInt
in class RandomEngine
public int nextInt(int n)
nextInt
in class RandomEngine
public long nextLong()
nextLong
in class RandomEngine
public long nextLong(long l)
nextLong
in class RandomEngine