 Parent Directory
|
 Parent Directory
|  Revision Log
|
 Revision Log
|  Patch
 Patch
| revision 1.1 by nikolas, Wed Feb 18 17:41:08 2009 UTC | revision 1.5 by pam-rm2, Fri Jun 12 18:39:49 2009 UTC | |
|---|---|---|
| # | Line 23 extern "C"{ | Line 23 extern "C"{ | 
| 23 | } | } | 
| 24 | ||
| 25 | void grndm_(Float_t* r, Int_t& n){ | void grndm_(Float_t* r, Int_t& n){ | 
| TRandom3 rnd(0); | ||
| 26 | for (Int_t i=0; i<n; i++){ | for (Int_t i=0; i<n; i++){ | 
| 27 | r[i]=rnd.Uniform(); | r[i]=gRandom->Uniform(); | 
| 28 | } | } | 
| 29 | } | } | 
| 30 | 
| 
 | ||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |