jdistlib.rng
Class RandomWELL44497b
- java.lang.Object
-
- jdistlib.rng.RandomEngine
-
- jdistlib.rng.RandomWELL44497b
-
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 Summary
Constructors Constructor and Description RandomWELL44497b()RandomWELL44497b(int[] init)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description RandomWELL44497bclone()doublenextDouble()floatnextFloat()doublenextGaussian()intnextInt()intnextInt(int n)longnextLong()longnextLong(long l)voidsetSeed(long seed)-
Methods inherited from class jdistlib.rng.RandomEngine
getSeed, random
-
-
-
-
Constructor Detail
-
RandomWELL44497b
public RandomWELL44497b()
-
RandomWELL44497b
public RandomWELL44497b(int[] init)
-
-
Method Detail
-
setSeed
public void setSeed(long seed)
- Overrides:
setSeedin classRandomEngine
-
nextGaussian
public final double nextGaussian()
- Specified by:
nextGaussianin classRandomEngine
-
nextDouble
public double nextDouble()
- Specified by:
nextDoublein classRandomEngine
-
nextFloat
public float nextFloat()
- Specified by:
nextFloatin classRandomEngine
-
clone
public RandomWELL44497b clone()
- Specified by:
clonein classRandomEngine
-
nextInt
public int nextInt()
- Specified by:
nextIntin classRandomEngine
-
nextInt
public int nextInt(int n)
- Specified by:
nextIntin classRandomEngine
-
nextLong
public long nextLong()
- Specified by:
nextLongin classRandomEngine
-
nextLong
public long nextLong(long l)
- Specified by:
nextLongin classRandomEngine
-
-
DMelt 3.0 © DataMelt by jWork.ORG