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
int haveRange
Definition: Random.h:9
int seed
Definition: Random.h:6
struct Random_struct * Random
double width
Definition: Random.h:12
double ** RandomMatrix(int M, int N, Random R)
double * RandomVector(int N, Random R)
void Random_delete(Random R)
Random new_Random_seed(int seed)
#define N
Definition: blowfish.cc:9
double right
Definition: Random.h:11
double left
Definition: Random.h:10
double Random_nextDouble(Random R)