test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Random.h
Go to the documentation of this file.
1 typedef struct
2 {
3  int m[17];
4  int seed;
5  int i; /* originally = 4 */
6  int j; /* originally = 16 */
7  int /*boolean*/ haveRange; /* = false; */
8  double left; /*= 0.0; */
9  double right; /* = 1.0; */
10  double width; /* = 1.0; */
11 }
13 
14 Random new_Random_seed(int seed);
15 double Random_nextDouble(Random R);
16 void Random_delete(Random R);
17 double *RandomVector(int N, Random R);
18 double **RandomMatrix(int M, int N, Random R);
int haveRange
Definition: Random.h:7
int seed
Definition: Random.h:4
struct Random_struct * Random
double width
Definition: Random.h:10
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:9
double left
Definition: Random.h:8
double Random_nextDouble(Random R)