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

  1. Path: sparky!uunet!gatech!darwin.sura.net!mips!decwrl!purdue!mentor.cc.purdue.edu!seaman.cc.purdue.edu
  2. From: ags@seaman.cc.purdue.edu (Dave Seaman)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Re: imsl subroutine ggubs
  5. Message-ID: <56859@mentor.cc.purdue.edu>
  6. Date: 14 Aug 92 19:25:15 GMT
  7. References: <1992Aug14.140728.22892@porthos.cc.bellcore.com>
  8. Sender: news@mentor.cc.purdue.edu
  9. Lines: 17
  10.  
  11. In article <1992Aug14.140728.22892@porthos.cc.bellcore.com>  
  12. chh2@rigel.uucp (22352-halevi) writes:
  13. > So, anyone out there know what ggubs is, or if its just a short piece of
  14. > code could you send it to me (in either fortran or C incarnations).
  15.  
  16. GGUBS is an obsolete IMSL routine (superseded in the current IMSL library)  
  17. for generating uniform random numbers. Its calling sequence was
  18.  
  19.     CALL GGUBS (DSEED,NR,R)
  20.  
  21. where DSEED in a double precision input/output variable assigned an  
  22. integer value, NR is the number of deviates to be generated (input), and R  
  23. is the vector of length NR containing the uniform (0,1) deviates (output).
  24.  
  25. --
  26. Dave Seaman
  27. ags@seaman.cc.purdue.edu
  28.