public class GammaGenerator extends Object implements RandomDataGenerator<Object>
Constructor and Description |
---|
GammaGenerator(double shape,
double scale) |
Modifier and Type | Method and Description |
---|---|
GammaGenerator |
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.
|
double |
scale() |
void |
setSeed(long seed)
Set random seed.
|
double |
shape() |
public double shape()
public double scale()
public double nextValue()
RandomDataGenerator
nextValue
in interface RandomDataGenerator<Object>
public void setSeed(long seed)
Pseudorandom
setSeed
in interface Pseudorandom
public GammaGenerator copy()
RandomDataGenerator
copy
in interface RandomDataGenerator<Object>