GammaDistr

public class GammaDistr extends ContinuousDistributionAbstract

A pseudo random number generator following the Gamma distribution.

Author:Marcos Dias de Assuncao

Constructors

GammaDistr

public GammaDistr(long seed, int shape, double scale)

Instantiates a new Gamma pseudo random number generator.

Parameters:
  • seed – the seed
  • shape – the shape
  • scale – the scale

GammaDistr

public GammaDistr(int shape, double scale)

Instantiates a new Gamma pseudo random number generator.

Parameters:
  • shape – the shape
  • scale – the scale