PPL Logo

conv-core/conv-random.h File Reference

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)


Typedef Documentation

typedef struct rngen_ CrnStream


Function Documentation

void CrnInitStream ( CrnStream dest,
unsigned int  seed,
int  type 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int CrnInt ( CrnStream  ) 

Definition at line 113 of file random.C.

References CrnDouble().

Referenced by CrnRand().

Here is the call graph for this function:

Here is the caller graph for this function:

double CrnDouble ( CrnStream  ) 

Definition at line 106 of file random.C.

References rngen_::state.

Referenced by CrnDrand(), CrnFloat(), CrnInitStream(), CrnInt(), and randVal().

Here is the caller graph for this function:

float CrnFloat ( CrnStream  ) 

Definition at line 118 of file random.C.

References CrnDouble().

Here is the call graph for this function:

void CrnSrand ( unsigned  int  ) 

Definition at line 123 of file random.C.

References CrnInitStream().

Referenced by CldModuleInit().

Here is the call graph for this function:

Here is the caller graph for this function:

int CrnRand ( void   ) 

double CrnDrand ( void   ) 

Definition at line 133 of file random.C.

References CrnDouble().

Referenced by chooseProc(), and SIMPLE_POLYMORPH_REDUCTION().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:00:27 2020 for Charm++ by  doxygen 1.5.5