Générateur de nombre aléatoire. Peut générer :. More...
#include <Commun.hpp>
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. | |
Public Attributes | |
unsigned long long | u |
unsigned long long | v |
unsigned long long | w |
Générateur de nombre aléatoire. Peut générer :.
Adaptation du code C# : http://www.sciencecode.com/Science/Mathematics/VectorCalculus/IntegrationMultiD.cs
Fractale::Random::Random | ( | unsigned long long | j = 0 |
) | [inline] |
Constructeur.
j | : graine de la suite aléatoire |
double Fractale::Random::generateDouble | ( | ) | [inline] |
Génère un double aléatoire.
unsigned int Fractale::Random::generateUInt32 | ( | ) | [inline] |
Génère un entier aléatoire.
unsigned long long Fractale::Random::generateUInt64 | ( | ) | [inline] |
Génère un entier aléatoire.