![]() |
aimsalgo
5.1.2
Neuroimaging image processing
|
#include <aims/math/random.h>
Public Member Functions | |
UniformDeviates () | |
Constructor and destructors. More... | |
virtual | ~UniformDeviates () |
destructor More... | |
Uniform random numbers | |
Nombres aleatoires sous forme de classe. F. Poupon le 03/08/2000 | |
T | ran0 (int *idum=NULL) |
'Minimal' random number generator of Park and Miller. More... | |
T | ran1 (int *idum=NULL) |
'Minimal' random number generator of Park and Miller with Bays-Durham shuffle and added safeguards. More... | |
T | ran2 (int *idum=NULL) |
Long period random number generator of L'Ecuyer with Bays-Derham shuffle and added safeguards. More... | |
T | ran3 (int *idum=NULL) |
Long period random number generator of Knuth. More... | |
|
inline |
|
inlinevirtual |
|
inline |
'Minimal' random number generator of Park and Miller.
\ This function is adapted from the Numerical Recipes in C. \ Returns a uniform random deviate between 0.0 and 1.0. Set or reset 'idum' to any integer value to initialize the sequence. \
idum | must not be altered between calls for successive deviates in a sequence. |
|
inline |
'Minimal' random number generator of Park and Miller with Bays-Durham shuffle and added safeguards.
\ This function is adapted from the Numerical Recipes in C. \ Returns a uniform random deviate between 0.0 and 1.0 (exclusive of the endpoint values). Call with 'idum' a negative integer to initialize; thereafter, do not alter 'idum' between successive deviates in a sequence.
Definition at line 237 of file random.h.
Referenced by ExponentialDeviates< T >::doit(), and NormalDeviates< T >::doit().
|
inline |
Long period random number generator of L'Ecuyer with Bays-Derham shuffle and added safeguards.
\ This function is adapted from the Numerical Recipes in C. \ Returns a uniform random deviate between 0.0 and 1.0 (exclusive of the endpoint values). Call with 'idum' a negative integer to initialize; thereafter, do not alter 'idum' between successive deviates in a sequence.
|
inline |