home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / fortran / 3062 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.6 KB

  1. Xref: sparky comp.lang.fortran:3062 sci.math.stat:1675
  2. Path: sparky!uunet!imsl!dale
  3. From: dale@imsl.UUCP (Dale Neaderhouse)
  4. Newsgroups: comp.lang.fortran,sci.math.stat
  5. Subject: IMSL/random number generation
  6. Keywords: random number generation, multiplicative congruential generators
  7. Message-ID: <1009@imsl.UUCP>
  8. Date: 17 Aug 92 15:59:23 GMT
  9. Organization: IMSL, Inc., Houston
  10. Lines: 32
  11.  
  12. In article <1992Aug14.140728.22892@porthos.cc.bellcore.com>  
  13. chh2@rigel.uucp (22352-halevi) writes:
  14. > So, anyone out there know what ggubs is
  15.  
  16. GGUBS was renamed to RNUN in 1987 version 1.0 of the IMSL Stat/Library
  17. for Fortran.
  18.  
  19. In the 1.0 and 1.1 versions, RNUN used one of six algorithms for generating 
  20. random numbers.  In version 2.0, a seventh was added in September 1991.
  21.  
  22. 1. Congruential, with multiplier 16807 is used.
  23. 2. Congruential, with multiplier 16807 is used with shuffling.
  24. 3. Congruential, with multiplier 397204094 is used.
  25. 4. Congruential, with multiplier 397204094 is used with shuffling.
  26. 5. Congruential, with multiplier 950706376 is used.
  27. 6. Congruential, with multiplier 950706376 is used with shuffling.
  28. 7. Generalized Feedback Shift Register, with the recursion 
  29.        X_t  = X_(t-1563) (+) X_(t-96) is used.
  30.  
  31. GGUBS used the first algorithm. Plese study the literature in this
  32. field to know what tests pass for the different algorithms and which
  33. tests fail.
  34.  
  35. I hope this helps.
  36.  
  37. Dale
  38.  
  39. Have a good day!
  40.  
  41. Dale L. Neaderhouser          dale@imsl3.imsl.com   FAX: 713-242-9799
  42. Senior Software Engineer      uunet!imsl!dale      IMSL: 713-242-6776
  43. Post Sales Technical Support: 800-324-4675        Sales: 800-222-4675
  44.