klMatrix
Public Member Functions | Private Member Functions | Private Attributes
klGammaRV< TYPE > Class Template Reference

#include <kl_random_number_generator.h>

Inheritance diagram for klGammaRV< TYPE >:
Inheritance graph
Collaboration diagram for klGammaRV< TYPE >:
Collaboration graph

Public Member Functions

 klGammaRV (double G_a=1.9, bool bSeedFromClock=true, unsigned int rvSeed0=0, unsigned int rvSeed1=1)
 
virtual TYPE operator() ()
 
TYPE operator() (double G_a)
 
void klGammaRVReset (bool bSeedFromClock=true, double G_a=1.9, unsigned int rvSeed0=0, unsigned int rvSeed1=1)
 
- Public Member Functions inherited from klMersenneTwister
 klMersenneTwister (int s=4357)
 
virtual ~klMersenneTwister ()
 
void reset (unsigned int s=0)
 
unsigned int nextValue ()
 
double nextNormalizedValue ()
 
- Public Member Functions inherited from klRV< TYPE >
virtual TYPE CDF (TYPE x)
 
virtual TYPE PDF (TYPE x)
 

Private Member Functions

double gamma ()
 
void gammaCompHlp ()
 

Private Attributes

double Gamma_a
 
double Gamma_alpha
 
double Gamma_b
 
double Gamma_c
 
double Gamma_g
 
double Gamma_X
 
unsigned int seedValue0
 
unsigned int seedValue1
 
klUniformRV< double > Gamma_U1
 
klUniformRV< double > Gamma_U2
 

Constructor & Destructor Documentation

template<class TYPE>
klGammaRV< TYPE >::klGammaRV ( double  G_a = 1.9,
bool  bSeedFromClock = true,
unsigned int  rvSeed0 = 0,
unsigned int  rvSeed1 = 1 
)
inline

Here is the call graph for this function:

Member Function Documentation

template<class TYPE>
double klGammaRV< TYPE >::gamma ( )
inlineprivate

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
void klGammaRV< TYPE >::gammaCompHlp ( )
inlineprivate

Here is the caller graph for this function:

template<class TYPE>
void klGammaRV< TYPE >::klGammaRVReset ( bool  bSeedFromClock = true,
double  G_a = 1.9,
unsigned int  rvSeed0 = 0,
unsigned int  rvSeed1 = 1 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
virtual TYPE klGammaRV< TYPE >::operator() ( )
inlinevirtual

Implements klRV< TYPE >.

Here is the call graph for this function:

template<class TYPE>
TYPE klGammaRV< TYPE >::operator() ( double  G_a)
inline

Here is the call graph for this function:

Field Documentation

template<class TYPE>
double klGammaRV< TYPE >::Gamma_a
private
template<class TYPE>
double klGammaRV< TYPE >::Gamma_alpha
private
template<class TYPE>
double klGammaRV< TYPE >::Gamma_b
private
template<class TYPE>
double klGammaRV< TYPE >::Gamma_c
private
template<class TYPE>
double klGammaRV< TYPE >::Gamma_g
private
template<class TYPE>
klUniformRV<double> klGammaRV< TYPE >::Gamma_U1
private
template<class TYPE>
klUniformRV<double> klGammaRV< TYPE >::Gamma_U2
private
template<class TYPE>
double klGammaRV< TYPE >::Gamma_X
private
template<class TYPE>
unsigned int klGammaRV< TYPE >::seedValue0
private
template<class TYPE>
unsigned int klGammaRV< TYPE >::seedValue1
private

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