ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/randomSPRNG.hpp
(Generate patch)

Comparing trunk/mdtools/headers/randomSPRNG.hpp (file contents):
Revision 223 by chuckv, Fri Jan 3 22:04:50 2003 UTC vs.
Revision 249 by chuckv, Mon Jan 27 21:28:19 2003 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines