- Main Page
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# itpp::Gamma_RNG Class Reference

Gamma distribution. More...

`#include <itpp_ext.h>`

List of all members.

## Public Member Functions
| Gamma_RNG (double a=1.0, double b=1.0)
| constructor. Set lambda.
void | setup (double a0, double b0)
| Set lambda.
double | get_setup () const
| get lambda
double | operator() ()
| Get one sample.
vec | operator() (int n)
| Get a sample vector.
mat | operator() (int h, int w)
| Get a sample matrix.

## Detailed Description

Gamma distribution.

The documentation for this class was generated from the following files:

- work/mixpp/bdm/itpp_ext.h
- work/mixpp/bdm/itpp_ext.cpp