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

#include <kl_random_number_generator.h>

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

Public Member Functions

 klNormalBoxMullerRV (bool bSeedFromClock=true, unsigned int rvSeed0=0, unsigned int rvSeed1=1)
 
virtual TYPE operator() ()
 
void NormalRVReset (bool bSeedFromClock=true, 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 normal ()
 
void normalCompHlp ()
 

Private Attributes

int Normal_I
 
int Normal_Iset
 
double Normal_B
 
double Normal_U2
 
double Normal_X
 
unsigned int seedValue0
 
unsigned int seedValue1
 
klUniformRV< double > Normal_R1
 
klUniformRV< double > Normal_R2
 

Constructor & Destructor Documentation

template<class TYPE>
klNormalBoxMullerRV< TYPE >::klNormalBoxMullerRV ( 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 klNormalBoxMullerRV< TYPE >::normal ( )
inlineprivate

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
void klNormalBoxMullerRV< TYPE >::normalCompHlp ( )
inlineprivate

Here is the caller graph for this function:

template<class TYPE>
void klNormalBoxMullerRV< TYPE >::NormalRVReset ( bool  bSeedFromClock = true,
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 klNormalBoxMullerRV< TYPE >::operator() ( )
inlinevirtual

Implements klRV< TYPE >.

Here is the call graph for this function:

Field Documentation

template<class TYPE>
double klNormalBoxMullerRV< TYPE >::Normal_B
private
template<class TYPE>
int klNormalBoxMullerRV< TYPE >::Normal_I
private
template<class TYPE>
int klNormalBoxMullerRV< TYPE >::Normal_Iset
private
template<class TYPE>
klUniformRV<double> klNormalBoxMullerRV< TYPE >::Normal_R1
private
template<class TYPE>
klUniformRV<double> klNormalBoxMullerRV< TYPE >::Normal_R2
private
template<class TYPE>
double klNormalBoxMullerRV< TYPE >::Normal_U2
private
template<class TYPE>
double klNormalBoxMullerRV< TYPE >::Normal_X
private
template<class TYPE>
unsigned int klNormalBoxMullerRV< TYPE >::seedValue0
private
template<class TYPE>
unsigned int klNormalBoxMullerRV< TYPE >::seedValue1
private

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