Article View: sci.math.num-analysis
Article #447NEED: LCRNG triplet selection methods?
From: Jan Steinman
Date: Mon, 17 Aug 1992 16:18
Date: Mon, 17 Aug 1992 16:18
18 lines
1207 bytes
1207 bytes
Are there simple techniques for choosing good paramaters for linear congruential random number generators? I need fast pseudo-random integers in different ranges. When I change the modulus, the distribution developes "holes": integers that are never hit. I tried differnt prime numbers for the multiplier and increment, but that didn't help much. (Yes, I'm sure Knuth has the answer, but my copy is 3,000 miles away! I checked "Numerical Recipies", which basically poo-poos LCRNGs as semi-useless, and refers the reader to Knuth.) Please email, I'll summarize. Thanks! -- : : Jan Steinman steinman@is.morgan.com Bytesmiths : : : : 2002 Parkside Court West Linn, OR 97068-2767 : : : : 503/657-7703 212/956-8722 : :
Technical Details
Message-ID:
<STEINMAN.92Aug17111817@hawk.is.morgan.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!s5!is1.is.morgan.com!is0.is.morgan.com!steinmanReferences:
<1992Aug14.095624.4963@rhrk.uni-kl.de>Show Full Headers
Complete Article Headers
Newsgroups: sci.math.num-analysis Path: arc1-ca.pugleaf.net!sparky!uunet!s5!is1.is.morgan.com!is0.is.morgan.com!steinman From: steinman@is.morgan.com (Jan Steinman) Subject: NEED: LCRNG triplet selection methods? Message-ID: <STEINMAN.92Aug17111817@hawk.is.morgan.com> Sender: news@is.morgan.com Nntp-Posting-Host: hawk Organization: Morgan Stanley & Company References: <1992Aug14.095624.4963@rhrk.uni-kl.de> Date: Mon, 17 Aug 1992 16:18:16 GMT Lines: 18