Post Reply 
Looking for more algorithms for quasi-random numbers
11-30-2019, 01:29 PM
Post: #4
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 :-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Looking for more algorithms for quasi-random numbers - Namir - 11-30-2019 01:29 PM



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