CMS 3D CMS Logo

Random.h
Go to the documentation of this file.
1 #ifndef RANDOM_H
2 #define RANDOM_H
3 
4 typedef struct {
5  int m[17];
6  int seed;
7  int i; /* originally = 4 */
8  int j; /* originally = 16 */
9  int /*boolean*/ haveRange; /* = false; */
10  double left; /*= 0.0; */
11  double right; /* = 1.0; */
12  double width; /* = 1.0; */
14 
16 double Random_nextDouble(Random R);
17 void Random_delete(Random R);
18 double *RandomVector(int N, Random R);
19 double **RandomMatrix(int M, int N, Random R);
20 
21 #endif
RandomVector
double * RandomVector(int N, Random R)
Random_struct::i
int i
Definition: Random.h:7
Random_struct::width
double width
Definition: Random.h:12
Random_struct
Definition: Random.h:4
new_Random_seed
Random new_Random_seed(int seed)
fileCollector.seed
seed
Definition: fileCollector.py:127
Random_struct::j
int j
Definition: Random.h:8
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
Random_nextDouble
double Random_nextDouble(Random R)
N
#define N
Definition: blowfish.cc:9
Random
struct Random_struct * Random
Random_struct::haveRange
int haveRange
Definition: Random.h:9
Random_struct::right
double right
Definition: Random.h:11
RandomMatrix
double ** RandomMatrix(int M, int N, Random R)
Random_struct::left
double left
Definition: Random.h:10
dttmaxenums::R
Definition: DTTMax.h:29
Random_struct::seed
int seed
Definition: Random.h:6
Random_delete
void Random_delete(Random R)