compile-time configurable linear congruential generator. Plus de détails...
#include <arcane/core/random/LinearCongruential.h>
Graphe de collaboration de Arcane::random::LinearCongruential< IntType, a, c, m, val >:Types publics | |
| typedef IntType | result_type |
Fonctions membres publiques | |
| result_type | min () const |
| result_type | max () const |
| LinearCongruential (IntType x0=1) | |
| void | seed (IntType x0) |
| IntType | getState () const |
| IntType | operator() () |
| bool | validation (IntType x) const |
| bool | operator== (const LinearCongruential &rhs) const |
| void | checkSeed (IntType x) |
Fonctions membres publiques statiques | |
| static IntType | apply (IntType x) |
Attributs publics statiques | |
| static const bool | has_fixed_range = true |
| static const result_type | min_value = ( c == 0 ? 1 : 0 ) |
| static const result_type | max_value = m-1 |
| static const IntType | multiplier = a |
| static const IntType | increment = c |
| static const IntType | modulus = m |
Attributs privés | |
| IntType | _x |
compile-time configurable linear congruential generator.
Définition à la ligne 42 du fichier LinearCongruential.h.
| typedef IntType Arcane::random::LinearCongruential< IntType, a, c, m, val >::result_type |
Définition à la ligne 45 du fichier LinearCongruential.h.
|
inlineexplicit |
Définition à la ligne 55 du fichier LinearCongruential.h.
|
inlinestatic |
Définition à la ligne 76 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 84 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 70 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 54 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 53 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 71 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 81 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 63 du fichier LinearCongruential.h.
|
inline |
Définition à la ligne 80 du fichier LinearCongruential.h.
|
private |
Définition à la ligne 92 du fichier LinearCongruential.h.
|
static |
Définition à la ligne 46 du fichier LinearCongruential.h.
|
static |
Définition à la ligne 50 du fichier LinearCongruential.h.
|
static |
Définition à la ligne 48 du fichier LinearCongruential.h.
|
static |
Définition à la ligne 47 du fichier LinearCongruential.h.
|
static |
Définition à la ligne 51 du fichier LinearCongruential.h.
|
static |
Définition à la ligne 49 du fichier LinearCongruential.h.