Article View: comp.sys.transputer
Article #1773OCCAM2 Random number generator
From: Erik Johansson
Date: Fri, 24 May 1991 20:42
Date: Fri, 24 May 1991 20:42
17 lines
1266 bytes
1266 bytes
I haven't used the random number generator in Occam2, so I can't really comment on it. However, my experience with system supplied random number generators on other machines has been less than wonderful. You might want to take the time to write your own. Using a linear congruential algorithm you can write integer and real uniform generators which are quite simple, yet machine independent. For the details, I refer you to the following articles: "Random Number Generators: Good Ones Are Hard to Find" S. K. Park and K. W. Miller, Communications of the ACM, October 1988, Vol 31, No 10, pp 1192 - 1201 "Efficient and Portable Combined Random Number Generators" P. L'Ecuyer, Communications of the ACM, June 1988, Vol 31, No 6, pp 742 - 749, 774 Erik Johansson
Technical Details
Message-ID:
<9105242042.AA13310@goofy.llnl.gov.>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!GOOFY.LLNL.GOV!erikReferences:
<9105241956.AA11915@theory.TC.CORNELL.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!GOOFY.LLNL.GOV!erik From: erik@GOOFY.LLNL.GOV (Erik Johansson) Newsgroups: comp.sys.transputer Subject: OCCAM2 Random number generator Message-ID: <9105242042.AA13310@goofy.llnl.gov.> Date: 24 May 91 20:42:44 GMT References: <9105241956.AA11915@theory.TC.CORNELL.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17