aimsalgo  5.0.5
Neuroimaging image processing
ExponentialDeviates< T > Class Template Reference

Exponential random numbers. More...

#include <aims/math/random.h>

Public Member Functions

 ExponentialDeviates ()
 Constructor and destructor. More...
 
virtual ~ExponentialDeviates ()
 destructor More...
 
Uniform random numbers

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

doit (int *idum=NULL)
 Exponential random number generator. More...
 

Detailed Description

template<class T>
class ExponentialDeviates< T >

Exponential random numbers.

Definition at line 405 of file random.h.

Constructor & Destructor Documentation

◆ ExponentialDeviates()

template<class T >
ExponentialDeviates< T >::ExponentialDeviates ( )
inline

Constructor and destructor.

constructor

Definition at line 412 of file random.h.

◆ ~ExponentialDeviates()

template<class T >
virtual ExponentialDeviates< T >::~ExponentialDeviates ( )
inlinevirtual

destructor

Definition at line 414 of file random.h.

Member Function Documentation

◆ doit()

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

Exponential random number generator.

\ This function is adapted from the Numerical Recipes in C. \ Returns an exponentially distributed, positive, random deviate of unit mean, using method ran1(idum) of UniformDeviates as the source of uniform deviates.

Definition at line 428 of file random.h.

References UniformDeviates< T >::ran1().


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