public class GammaDistr extends java.lang.Object implements ContinuousDistribution
| Constructor and Description |
|---|
GammaDistr(int alpha,
double beta)
Instantiates a new gamma distr.
|
GammaDistr(java.util.Random seed,
int alpha,
double beta)
Instantiates a new gamma distr.
|
| Modifier and Type | Method and Description |
|---|---|
double |
sample()
Sample the random number generator.
|
public GammaDistr(java.util.Random seed,
int alpha,
double beta)
seed - the seedalpha - the alphabeta - the betapublic GammaDistr(int alpha,
double beta)
alpha - the alphabeta - the betapublic double sample()
ContinuousDistributionsample in interface ContinuousDistribution