List of all members.
Detailed Description
Definition at line 78 of file randf.
Constructor & Destructor Documentation
inlib::randf::exp::exp |
( |
float |
a_rate = 1 | ) |
[inline] |
Definition at line 80 of file randf.
inlib::randf::exp::exp |
( |
const exp & |
a_from | ) |
[inline] |
Definition at line 82 of file randf.
Member Function Documentation
exp& inlib::randf::exp::operator= |
( |
const exp & |
a_from | ) |
[inline] |
Definition at line 83 of file randf.
{m_rate = a_from.m_rate;return *this;}
float inlib::randf::exp::shoot |
( |
| ) |
const [inline] |
Definition at line 85 of file randf.
{
float v;
do {
v = m_flat.shoot();
} while(v<=0);
return -flog(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/randf