Public Member Functions | |
GammaVariableImpl (double alpha, double beta) | |
virtual RandomVariableBase * | Copy (void) const |
virtual double | GetValue () |
double | GetValue (double alpha, double beta) |
![]() | |
RandomVariableBase () | |
RandomVariableBase (const RandomVariableBase &o) | |
virtual | ~RandomVariableBase () |
virtual uint32_t | GetInteger () |
RngStream * | GetStream (void) |
Private Attributes | |
double | m_alpha |
double | m_beta |
NormalVariable | m_normal |
Definition at line 1393 of file random-variable.cc.
ns3::GammaVariableImpl::GammaVariableImpl | ( | double | alpha, |
double | beta | ||
) |
alpha | alpha parameter of the gamma distribution |
beta | beta parameter of the gamma distribution |
Definition at line 1427 of file random-variable.cc.
Referenced by Copy().
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1422 of file random-variable.cc.
References GammaVariableImpl(), m_alpha, and m_beta.
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1434 of file random-variable.cc.
References m_alpha, and m_beta.
Referenced by GetValue().
double ns3::GammaVariableImpl::GetValue | ( | double | alpha, |
double | beta | ||
) |
Definition at line 1456 of file random-variable.cc.
References ns3::RandomVariableBase::GetStream(), ns3::RandomVariable::GetValue(), GetValue(), m_normal, ns3::RngStream::RandU01(), and sample-rng-plot::x.
|
private |
Definition at line 1416 of file random-variable.cc.
Referenced by Copy(), and GetValue().
|
private |
Definition at line 1417 of file random-variable.cc.
Referenced by Copy(), and GetValue().
|
private |
Definition at line 1418 of file random-variable.cc.
Referenced by GetValue().