public class UniformGenerator extends java.lang.Object implements RandomDataGenerator<java.lang.Object>
Constructor and Description |
---|
UniformGenerator() |
Modifier and Type | Method and Description |
---|---|
UniformGenerator |
copy()
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the
class when applicable for non-locking concurrent usage.
|
double |
nextValue()
Returns an i.i.d.
|
void |
setSeed(long seed)
Set random seed.
|
public double nextValue()
RandomDataGenerator
nextValue
in interface RandomDataGenerator<java.lang.Object>
public void setSeed(long seed)
Pseudorandom
setSeed
in interface Pseudorandom
public UniformGenerator copy()
RandomDataGenerator
copy
in interface RandomDataGenerator<java.lang.Object>