List of all members.
Detailed Description
Definition at line 80 of file random.
Constructor & Destructor Documentation
inlib::random::exp::exp |
( |
double |
a_rate = 1 | ) |
[inline] |
inlib::random::exp::exp |
( |
const exp & |
a_from | ) |
[inline] |
Member Function Documentation
exp& inlib::random::exp::operator= |
( |
const exp & |
a_from | ) |
[inline] |
Definition at line 85 of file random.
{m_rate = a_from.m_rate;return *this;}
double inlib::random::exp::shoot |
( |
| ) |
const [inline] |
Definition at line 87 of file random.
{
double v;
do {
v = m_flat.shoot();
} while(v<=0);
return -::log(v)/m_rate;
}
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/old/inexlib-1.2/inlib/inlib/random