public class FasterRandom extends Object implements org.apache.commons.math3.random.RandomGenerator
Constructor and Description |
---|
FasterRandom() |
Modifier and Type | Method and Description |
---|---|
boolean |
nextBoolean() |
void |
nextBytes(byte[] bytes) |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int i) |
long |
nextLong() |
void |
setSeed(int seed) |
void |
setSeed(int[] ints) |
void |
setSeed(long seed) |
public void setSeed(int seed)
setSeed
in interface org.apache.commons.math3.random.RandomGenerator
public void setSeed(int[] ints)
setSeed
in interface org.apache.commons.math3.random.RandomGenerator
public void setSeed(long seed)
setSeed
in interface org.apache.commons.math3.random.RandomGenerator
public void nextBytes(byte[] bytes)
nextBytes
in interface org.apache.commons.math3.random.RandomGenerator
public int nextInt()
nextInt
in interface org.apache.commons.math3.random.RandomGenerator
public int nextInt(int i)
nextInt
in interface org.apache.commons.math3.random.RandomGenerator
public long nextLong()
nextLong
in interface org.apache.commons.math3.random.RandomGenerator
public boolean nextBoolean()
nextBoolean
in interface org.apache.commons.math3.random.RandomGenerator
public float nextFloat()
nextFloat
in interface org.apache.commons.math3.random.RandomGenerator
public double nextDouble()
nextDouble
in interface org.apache.commons.math3.random.RandomGenerator
public double nextGaussian()
nextGaussian
in interface org.apache.commons.math3.random.RandomGenerator
Copyright © 2014–2016 Robert Stupp, Koeln, Germany, robert-stupp.de. All rights reserved.