Changeset 3075 in Sophya for trunk/SophyaLib/NTools/perandom.h
- Timestamp:
- Sep 14, 2006, 11:43:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/perandom.h
r2840 r3075 10 10 #include <stdlib.h> 11 11 #include "histos.h" 12 #include "nbrandom.h" 12 #include "srandgen.h" 13 #include <complex> 13 14 14 15 namespace SOPHYA { … … 41 42 }; 42 43 44 //! Returns a random gaussian complex number with variance sig^2 45 inline complex< r_8 > ComplexGaussRan(double sig=1.) 46 {return complex< r_8 >(GauRnd(0.,sig),GauRnd(0.,sig));} 47 43 48 } // namespace SOPHYA 44 49
Note:
See TracChangeset
for help on using the changeset viewer.