Gamma_Transformation Class Reference
Random variate transformation for gamma distribution. More...
#include <random.hpp>
Inheritance diagram for Gamma_Transformation:
Public Member Functions | |
| Gamma_Transformation (double k, double theta) | |
| Constructor. More... | |
| Gamma_Transformation (const Gamma_Transformation &trans) | |
| Copy constructor. More... | |
| virtual | ~Gamma_Transformation () |
| Virtual destructor. More... | |
| Gamma_Transformation & | operator= (const Gamma_Transformation &trans) |
| Assignment. More... | |
| virtual Gamma_Transformation * | copy (void) const |
| Return a newly allocated copy of object. More... | |
| virtual double | transform (double R) |
| Returns number from distribution, transformed from uniformly distributed R, where 0 <= R <= 1. More... | |
Public Member Functions inherited from Random_Variate_Transformation | |
| virtual | ~Random_Variate_Transformation () |
| Virtual destructor. More... | |
Detailed Description
Random variate transformation for gamma distribution.
Constructor & Destructor Documentation
| Gamma_Transformation::Gamma_Transformation | ( | double | k, |
| double | theta | ||
| ) |
Constructor.
| Gamma_Transformation::Gamma_Transformation | ( | const Gamma_Transformation & | trans | ) |
Copy constructor.
|
virtual |
Virtual destructor.
Member Function Documentation
|
virtual |
Return a newly allocated copy of object.
Implements Random_Variate_Transformation.
| Gamma_Transformation & Gamma_Transformation::operator= | ( | const Gamma_Transformation & | trans | ) |
Assignment.
|
virtual |
Returns number from distribution, transformed from uniformly distributed R, where 0 <= R <= 1.
Implements Random_Variate_Transformation.
The documentation for this class was generated from the following files:
Public Member Functions inherited from