Go to the first, previous, next, last section, table of contents.

The Gamma Distribution

Random: double gsl_ran_gamma (const gsl_rng * r, double a, double b)
This function returns a random variate from the gamma distribution. The distribution function is,

for @math{x > 0}.

Function: double gsl_ran_gamma_pdf (double x, double a, double b)
This function computes the probability density @math{p(x)} at x for a gamma distribution with parameters a and b, using the formula given above.


Go to the first, previous, next, last section, table of contents.