Changeset 3615 in Sophya for trunk/SophyaProg/Tests/zthr.cc
- Timestamp:
- May 1, 2009, 1:34:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/zthr.cc
r3451 r3615 10 10 #include "matharr.h" 11 11 #include "tarrinit.h" 12 #include " stsrand.h"12 #include "randr48.h" 13 13 14 14 #include <stdlib.h> … … 63 63 void randgenths(Array& mx, double sig) 64 64 { 65 RandomGenerator rg;65 ThSDR48RandGen rg; 66 66 for(sa_size_t j=0; j<mx.SizeY(); j++) 67 67 for(sa_size_t i=0; i<mx.SizeX(); i++) mx(i,j) = rg.Gaussian(sig);
Note:
See TracChangeset
for help on using the changeset viewer.