Overture  Version 25
RandomSampling.h
Go to the documentation of this file.
1 #ifndef RANDOMSAMPLING_H
2 #define RANDOMSAMPLING_H
3 
4 #include <math.h>
5 
7  public:
9  double RandomDouble();
10  int RandomInteger(int);
11  double* RandomCosines();
12  double* Random2DCosines();
13 
14  private:
15  // double DRanN();
16  inline double min(int a, int b) { if (a < b) return a; else return b; }
17 
18  int m1, m2, m3, m4;
19  int n1, n2, n3, n4;
20  int l1, l2, l3, l4;
21  int i1, i2, i3, i4;
22  double tpm12;
23 };
24 
25 #endif
26