A.I.M.S algorithms

NormalDeviates< T > Class Template Reference

Normal random numbers. More...

#include <aims/math/random.h>

Public Member Functions

 NormalDeviates ()
 Constructors and destructors. More...
virtual ~NormalDeviates ()
 destructor More...
Uniform random numbers

Nombres aleatoires sous forme de classe. F. Poupon le 03/08/2000

doit (int *idum=NULL)
 Normal random numbers generator. More...

Detailed Description

template<class T>
class NormalDeviates< T >

Normal random numbers.

Definition at line 446 of file random.h.

Constructor & Destructor Documentation

template<class T >
NormalDeviates< T >::NormalDeviates ( )

Constructors and destructors.


Definition at line 453 of file random.h.

template<class T >
virtual NormalDeviates< T >::~NormalDeviates ( )


Definition at line 455 of file random.h.

Member Function Documentation

template<class T >
T NormalDeviates< T >::doit ( int *  idum = NULL)

Normal random numbers generator.

\ This function is adapted from the Numerical Recipes in C. \ Returns a normally distributed deviate with zero mean and unit variance, using method ran1(idum) of UniformDeviates as the source of uniform deviates.

Definition at line 469 of file random.h.

References UniformDeviates< T >::ran1().

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