Fractale::Random Class Reference

Générateur de nombre aléatoire. Peut générer :. More...

#include <Commun.hpp>

List of all members.

Public Member Functions

 Random (unsigned long long j=0)
 Constructeur.
unsigned long long generateUInt64 ()
 Génère un entier aléatoire.
double generateDouble ()
 Génère un double aléatoire.
unsigned int generateUInt32 ()
 Génère un entier aléatoire.


Detailed Description

Générateur de nombre aléatoire. Peut générer :.

Adaptation du code C# : http://www.sciencecode.com/Science/Mathematics/VectorCalculus/IntegrationMultiD.cs

Definition at line 52 of file Commun.hpp.


Constructor & Destructor Documentation

Fractale::Random::Random ( unsigned long long  j = 0  )  [inline]

Constructeur.

Parameters:
j : graine de la suite aléatoire

Definition at line 59 of file Commun.hpp.

References generateUInt64().


Member Function Documentation

unsigned long long Fractale::Random::generateUInt64 (  )  [inline]

Génère un entier aléatoire.

Returns:
Un entier non signé sur 64 bits.

Definition at line 71 of file Commun.hpp.

Referenced by generateDouble(), generateUInt32(), and Random().

double Fractale::Random::generateDouble (  )  [inline]

Génère un double aléatoire.

Returns:
Un double dans [0,1[.

Definition at line 84 of file Commun.hpp.

References generateUInt64().

Referenced by Fractale::PointAleatoire::nouveauPoint().

unsigned int Fractale::Random::generateUInt32 (  )  [inline]

Génère un entier aléatoire.

Returns:
Un entier non signé sur 32 bits.

Definition at line 92 of file Commun.hpp.

References generateUInt64().


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

Generated on Sun Feb 28 16:20:56 2010 for Defi_Fractales by  doxygen 1.5.5