Go to the source code of this file.
Data Structures | |
struct | rngen_ |
Typedefs | |
typedef struct rngen_ | CrnStream |
Functions | |
void | CrnInitStream (CrnStream *dest, unsigned int seed, int type) |
int | CrnInt (CrnStream *) |
double | CrnDouble (CrnStream *) |
float | CrnFloat (CrnStream *) |
void | CrnSrand (unsigned int) |
int | CrnRand (void) |
double | CrnDrand (void) |
Definition at line 68 of file random.C.
References _PARAMLIST, _prime_list, CrnDouble(), rngen_::multiplier, rngen_::prime, and rngen_::state.
Referenced by CrnInit(), CrnSrand(), and main().
Definition at line 113 of file random.C.
References CrnDouble().
Referenced by CrnRand().
double CrnDouble | ( | CrnStream * | ) |
Definition at line 106 of file random.C.
References rngen_::state.
Referenced by CrnDrand(), CrnFloat(), CrnInitStream(), CrnInt(), and randVal().
Definition at line 118 of file random.C.
References CrnDouble().
void CrnSrand | ( | unsigned | int | ) |
Definition at line 123 of file random.C.
References CrnInitStream().
Referenced by CldModuleInit().
int CrnRand | ( | void | ) |
Definition at line 128 of file random.C.
References CrnInt().
Referenced by AddEdges(), WSLB::AssembleStats(), NborBaseLB::AssembleStats(), CkCppInterpreter::CkCppInterpreter(), CldAckNoTaskHandler(), CldEnqueue(), CldHopHandler(), CldMoveAllSeedsAway(), CldNodeEnqueue(), RefinerTemp::create(), RefinerApprox::create(), Refiner::create(), gengraph(), rep::POSE_Linear_rand(), rep::POSE_Uniform_rand(), StealLoad(), and StealTask().
double CrnDrand | ( | void | ) |
Definition at line 133 of file random.C.
References CrnDouble().
Referenced by chooseProc(), and SIMPLE_POLYMORPH_REDUCTION().