Public Member Functions | |
GammaVariableImpl (double alpha, double beta) | |
virtual RandomVariableBase * | Copy (void) const |
virtual double | GetValue () |
double | GetValue (double alpha, double beta) |
Public Member Functions inherited from ns3::RandomVariableBase | |
RandomVariableBase (const RandomVariableBase &o) | |
virtual uint32_t | GetInteger () |
RngStream * | GetStream (void) |
Private Attributes | |
double | m_alpha |
double | m_beta |
NormalVariable | m_normal |
Definition at line 1507 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 1542 of file random-variable.cc.
References NS_LOG_FUNCTION.
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1550 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by GetValue().
double ns3::GammaVariableImpl::GetValue | ( | double | alpha, |
double | beta | ||
) |
Definition at line 1573 of file random-variable.cc.
References ns3::RandomVariable::GetValue(), GetValue(), NS_LOG_FUNCTION, and ns3::RngStream::RandU01().