de.cesr.more.util.distributions
Class MRandomEngineGenerator
java.lang.Object
de.cesr.more.util.distributions.MRandomEngineGenerator
public class MRandomEngineGenerator
- extends Object
MORe
This wrapper is applied to use RandomEngine
s as RandomGenerator
within the apache commons math
library.
- Date:
- 12.09.2013
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MRandomEngineGenerator
public MRandomEngineGenerator(cern.jet.random.engine.RandomEngine twister)
- Parameters:
twister
-
nextBoolean
public boolean nextBoolean()
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextBoolean()
nextBytes
public void nextBytes(byte[] arg0)
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextBytes(byte[])
nextDouble
public double nextDouble()
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextDouble()
nextFloat
public float nextFloat()
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextFloat()
nextGaussian
public double nextGaussian()
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextGaussian()
nextInt
public int nextInt()
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextInt()
nextInt
public int nextInt(int arg0)
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextInt(int)
nextLong
public long nextLong()
- See Also:
org.apache.commons.math3.random.RandomGenerator#nextLong()
setSeed
public void setSeed(int arg0)
- See Also:
org.apache.commons.math3.random.RandomGenerator#setSeed(int)
setSeed
public void setSeed(int[] arg0)
- See Also:
org.apache.commons.math3.random.RandomGenerator#setSeed(int[])
setSeed
public void setSeed(long arg0)
- See Also:
org.apache.commons.math3.random.RandomGenerator#setSeed(long)