jdistlib.rng
Class RandomEngine
- java.lang.Object
-
- jdistlib.rng.RandomEngine
-
- Direct Known Subclasses:
- MersenneTwister, RandomCMWC, RandomWELL44497b
public abstract class RandomEngine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description RandomEngine()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract RandomEngineclone()longgetSeed()abstract doublenextDouble()abstract floatnextFloat()abstract doublenextGaussian()abstract intnextInt()abstract intnextInt(int n)abstract longnextLong()abstract longnextLong(long l)doublerandom()voidsetSeed(long seed)
-
-
-
Method Detail
-
setSeed
public void setSeed(long seed)
-
getSeed
public long getSeed()
-
nextGaussian
public abstract double nextGaussian()
-
nextDouble
public abstract double nextDouble()
-
nextFloat
public abstract float nextFloat()
-
nextInt
public abstract int nextInt()
-
nextInt
public abstract int nextInt(int n)
-
nextLong
public abstract long nextLong()
-
nextLong
public abstract long nextLong(long l)
-
random
public double random()
-
clone
public abstract RandomEngine clone()
- Overrides:
clonein classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG