public class XoRoShiRo128Plus
extends org.apache.commons.math3.random.AbstractRandomGenerator
implements java.io.Serializable
Constructor and Description |
---|
XoRoShiRo128Plus() |
XoRoShiRo128Plus(long seed) |
XoRoShiRo128Plus(long[] state) |
Modifier and Type | Method and Description |
---|---|
long[] |
getState() |
boolean |
nextBoolean() |
void |
nextBytes(byte[] bytes) |
double |
nextDouble() |
float |
nextFloat() |
int |
nextInt() |
long |
nextLong() |
void |
setSeed(long seed) |
void |
setState(long[] state) |
public XoRoShiRo128Plus()
public XoRoShiRo128Plus(long seed)
public XoRoShiRo128Plus(long[] state)
public long nextLong()
nextLong
in interface org.apache.commons.math3.random.RandomGenerator
nextLong
in class org.apache.commons.math3.random.AbstractRandomGenerator
public int nextInt()
nextInt
in interface org.apache.commons.math3.random.RandomGenerator
nextInt
in class org.apache.commons.math3.random.AbstractRandomGenerator
public double nextDouble()
nextDouble
in interface org.apache.commons.math3.random.RandomGenerator
nextDouble
in class org.apache.commons.math3.random.AbstractRandomGenerator
public float nextFloat()
nextFloat
in interface org.apache.commons.math3.random.RandomGenerator
nextFloat
in class org.apache.commons.math3.random.AbstractRandomGenerator
public boolean nextBoolean()
nextBoolean
in interface org.apache.commons.math3.random.RandomGenerator
nextBoolean
in class org.apache.commons.math3.random.AbstractRandomGenerator
public void nextBytes(byte[] bytes)
nextBytes
in interface org.apache.commons.math3.random.RandomGenerator
nextBytes
in class org.apache.commons.math3.random.AbstractRandomGenerator
public void setSeed(long seed)
setSeed
in interface org.apache.commons.math3.random.RandomGenerator
setSeed
in class org.apache.commons.math3.random.AbstractRandomGenerator
public void setState(long[] state)
public long[] getState()