Looking for more algorithms for quasi-random numbers
11-30-2019, 01:29 PM
Post: #4
 Namir Senior Member Posts: 823 Joined: Dec 2013
RE: Looking for more algorithms for quasi-random numbers
(11-30-2019 01:36 AM)mfleming Wrote:
(11-29-2019 01:06 PM)Namir Wrote:  This is part of ttw's response in my other thread, where he mentions QRNs:

Quote:The easiest multi-dimensional quasi-random sequence is the Richtmeyer sequence. One uses the fractional part of multiples of the square roots of primes. Sqrt(2), Sqrt(3), etc. It's quick to do these by just setting x(i)=0 updating by x(i)=Frac(x(i)+Sqrt(P(i))). Naturally one just stores the fractional parts of the irrationals and updates. (List mode). The sequence is also called the Kronecker or Weyl sequence at times.

Using "quote" in place of "code" will autowrap large blocks of text!

I learned that the hard way :-)
 « Next Oldest | Next Newest »

 Messages In This Thread Looking for more algorithms for quasi-random numbers - Namir - 11-29-2019, 01:06 PM RE: Looking for more algorithms for quasi-random numbers - SlideRule - 11-29-2019, 04:49 PM RE: Looking for more algorithms for quasi-random numbers - mfleming - 11-30-2019, 01:36 AM RE: Looking for more algorithms for quasi-random numbers - Namir - 11-30-2019 01:29 PM RE: Looking for more algorithms for quasi-random numbers - Namir - 11-30-2019, 07:52 PM RE: Looking for more algorithms for quasi-random numbers - ttw - 12-01-2019, 05:52 AM RE: Looking for more algorithms for quasi-random numbers - Csaba Tizedes - 12-01-2019, 11:46 AM

User(s) browsing this thread: 1 Guest(s)