IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Test.MarsagliaTsangGammaGenerator Class Reference
+ Inheritance diagram for Test.MarsagliaTsangGammaGenerator:
+ Collaboration diagram for Test.MarsagliaTsangGammaGenerator:

Public Member Functions

 MarsagliaTsangGammaGenerator (IDeviateGenerator normalGenerator, double alpha)
 
double GetNext (Random rng)
 

Private Attributes

IDeviateGenerator normalGenerator
 
double a
 
double a1
 
double a2
 

Constructor & Destructor Documentation

Test.MarsagliaTsangGammaGenerator.MarsagliaTsangGammaGenerator ( IDeviateGenerator  normalGenerator,
double  alpha 
)
inline

Member Function Documentation

double Test.MarsagliaTsangGammaGenerator.GetNext ( Random  rng)
inline

Member Data Documentation

IDeviateGenerator Test.MarsagliaTsangGammaGenerator.normalGenerator
private
double Test.MarsagliaTsangGammaGenerator.a
private
double Test.MarsagliaTsangGammaGenerator.a1
private
double Test.MarsagliaTsangGammaGenerator.a2
private

The documentation for this class was generated from the following file: