| # | Line 1 | Line 1 | |
|---|---|---|
| 1 | < | #idndef __randomSPRNG_H |
| 1 | > | #ifndef __randomSPRNG_H |
| 2 | #define __randomSPRNG_H | |
| 3 | ||
| 4 | /* Define the random number generator used by SPRNG | |
| # | Line 22 | Line 22 | class randomSPRNG{ (protected) | |
| 22 | int nSPRNGStreams; | |
| 23 | static int nStreamsInitialized; | |
| 24 | ||
| 25 | < | } |
| 25 | > | }; |
| 26 | ||
| 27 | ||
| 28 | class gaussianSPRNG : protected randomSPRNG{ | |
| 29 | ||
| 30 | public: | |
| 31 | < | gaussianSPRNG(iseed):randomSPRNG(iseed){} |
| 31 | > | gaussianSPRNG(int iseed):randomSPRNG(iseed){} |
| 32 | ~gaussianSPRNG(){} | |
| 33 | ||
| 34 | double getGaussian(); | |
| 35 | ||
| 36 | protected: | |
| 37 | ||
| 38 | < | } |
| 38 | > | }; |
| 39 | ||
| 40 | ||
| 41 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |