#include <DUniform.h>
Inheritance diagram for DUniform::

Public Methods | |
| DUniform (RNG *gen=(RNG *) NULL, int low=0, int high=1) | |
| Constructor. | |
| int | low () |
| Returns the lower limit of the r.v. | |
| int | low (int x) |
| Sets the lower limit of the r.v. | |
| int | high () |
| Returns the upper limit of the r.v. | |
| int | high (int x) |
| Sets the upper limit of the r.v. | |
| virtual int | operator() () |
| Operator which generates a random value. | |
| int | operator() (int low_, int high_) |
| Generates a random variable given a lower and upper limit for the r.v. | |
Protected Attributes | |
| int | pLow |
| The lower limit of the r.v. | |
| int | pHigh |
| The upper limit of the r.v. | |
| int | delta |
The difference between pHigh and pLow. | |