List of all members.
Public Member Functions |
| bw (double a_mean=0, double a_gamma=1) |
| bw (const bw &a_from) |
bw & | operator= (const bw &a_from) |
double | shoot () const |
Detailed Description
Definition at line 56 of file random.
Constructor & Destructor Documentation
inlib::random::bw::bw |
( |
double |
a_mean = 0 , |
|
|
double |
a_gamma = 1 |
|
) |
| [inline] |
Definition at line 58 of file random.
:m_mean(a_mean),m_gamma(a_gamma){}
inlib::random::bw::bw |
( |
const bw & |
a_from | ) |
[inline] |
Definition at line 61 of file random.
:m_mean(a_from.m_mean),m_gamma(a_from.m_gamma){}
Member Function Documentation
bw& inlib::random::bw::operator= |
( |
const bw & |
a_from | ) |
[inline] |
Definition at line 63 of file random.
{
m_mean = a_from.m_mean;
m_gamma = a_from.m_gamma;
return *this;
}
double inlib::random::bw::shoot |
( |
| ) |
const [inline] |
Definition at line 69 of file random.
{
double rval = 2.0 * m_flat.shoot() - 1.0;
double displ = 0.5 * m_gamma * ::tan(rval * half_pi());
return m_mean + displ;
}
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/old/inexlib-1.2/inlib/inlib/random