Normal< BZ_TEMPLATE_DEFAULT > Class Template Reference

#include <rand-normal.h>

Inheritance diagram for Normal< BZ_TEMPLATE_DEFAULT >:

Inheritance graph
[legend]
Collaboration diagram for Normal< BZ_TEMPLATE_DEFAULT >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef double T_numtype
typedef T T_numtype

Public Member Functions

 Normal (double mean=0.0, double variance=1.0, double=0.0)
void randomize ()
double random ()
 Normal (T mean, T standardDeviation)
random ()

Private Attributes

double mean_
double sigma_
P_uniform uniform_
mean_
standardDeviation_

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
class Normal< BZ_TEMPLATE_DEFAULT >


Member Typedef Documentation

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
typedef T Normal< BZ_TEMPLATE_DEFAULT >::T_numtype

Reimplemented from NormalUnit< T, IRNG, stateTag >.

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
typedef double Normal< BZ_TEMPLATE_DEFAULT >::T_numtype

Reimplemented from NormalUnit< T, IRNG, stateTag >.


Constructor & Destructor Documentation

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
Normal< BZ_TEMPLATE_DEFAULT >::Normal ( double  mean = 0.0,
double  variance = 1.0,
double  = 0.0 
) [inline]

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
Normal< BZ_TEMPLATE_DEFAULT >::Normal ( mean,
standardDeviation 
) [inline]


Member Function Documentation

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
T Normal< BZ_TEMPLATE_DEFAULT >::random ( void   )  [inline]

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
double Normal< BZ_TEMPLATE_DEFAULT >::random ( void   )  [inline]

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
void Normal< BZ_TEMPLATE_DEFAULT >::randomize (  )  [inline]


Member Data Documentation

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
T Normal< BZ_TEMPLATE_DEFAULT >::mean_ [private]

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
double Normal< BZ_TEMPLATE_DEFAULT >::mean_ [private]

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
double Normal< BZ_TEMPLATE_DEFAULT >::sigma_ [private]

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
T Normal< BZ_TEMPLATE_DEFAULT >::standardDeviation_ [private]

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
P_uniform Normal< BZ_TEMPLATE_DEFAULT >::uniform_ [private]


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

Generated on Tue Feb 24 00:29:01 2009 for blitz by  doxygen 1.5.8