![]() |
|
|
Generated: 18 Jul 2008 |
#include <RndmGenerators.h>
Inheritance diagram for Rndm::Exponential:


Definition at line 49 of file RndmGenerators.h.
Public Member Functions | |
| Exponential (double m) | |
| Standard Constructor. | |
| virtual | ~Exponential () |
| Standard Destructor. | |
| double | mean () const |
| Access mean value of the distribution. | |
| virtual IRndmGen::Param * | clone () const |
| Clone parameters. | |
Static Public Member Functions | |
| static const InterfaceID & | typeID () |
| Identifier for factory. | |
Protected Attributes | |
| double | m_mean |
| Mean value of the exponential distribution. | |
| Rndm::Exponential::Exponential | ( | double | m | ) | [inline] |
Standard Constructor.
Definition at line 55 of file RndmGenerators.h.
Referenced by clone().
00056 : IRndmGen::Param(IID_IRndmExponential), m_mean(m) { }
| virtual Rndm::Exponential::~Exponential | ( | ) | [inline, virtual] |
| double Rndm::Exponential::mean | ( | ) | const [inline] |
Access mean value of the distribution.
Definition at line 60 of file RndmGenerators.h.
References m_mean.
00060 { return m_mean; }
| static const InterfaceID& Rndm::Exponential::typeID | ( | ) | [inline, static] |
Identifier for factory.
Definition at line 62 of file RndmGenerators.h.
References IID_IRndmExponential.
00062 { return IID_IRndmExponential; }
| virtual IRndmGen::Param* Rndm::Exponential::clone | ( | ) | const [inline, virtual] |
Clone parameters.
Implements IRndmGen::Param.
Definition at line 64 of file RndmGenerators.h.
References Exponential(), and m_mean.
00064 { return new Exponential(m_mean); }
double Rndm::Exponential::m_mean [protected] |