blitz Version 0.10
Normal< BZ_TEMPLATE_DEFAULT > Class Template Reference

#include <rand-normal.h>

Inheritance diagram for Normal< BZ_TEMPLATE_DEFAULT >:
Collaboration diagram for Normal< BZ_TEMPLATE_DEFAULT >:

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)
 Normal (T mean, T standardDeviation, unsigned int i)
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 double Normal< BZ_TEMPLATE_DEFAULT >::T_numtype

Reimplemented from NormalUnit< T, IRNG, stateTag >.

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
typedef T 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]
template<typename P_uniform BZ_TEMPLATE_DEFAULT>
Normal< BZ_TEMPLATE_DEFAULT >::Normal ( mean,
standardDeviation,
unsigned int  i 
) [inline]

Member Function Documentation

template<typename P_uniform BZ_TEMPLATE_DEFAULT>
double Normal< BZ_TEMPLATE_DEFAULT >::random ( void  ) [inline]
template<typename P_uniform BZ_TEMPLATE_DEFAULT>
T 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>
double Normal< BZ_TEMPLATE_DEFAULT >::mean_ [private]
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 >::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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines