RANDU RANDU

RANDU - Definition and Overview

RANDU is an infamous linear congruential pseudorandom number generator which has been used since the 1960s. It is defined by the recurrence:

<math>V_{j+1} = (65539 V_j) \mod 2^{31}<math>

with <math>V_0<math> odd.

It is widely considered to be one of the most ill-conceived random number generators designed. Notably, it does not have a full period, due to the poor choices of modulus and multiplier; it also fails the spectral test badly for dimensions greater than 2.

...its very name RANDU is enough to bring dismay into the eyes and stomachs of many computer scientists!Donald Knuth

References

  • Donald E. Knuth, The Art of Computer Programming, Volume 2: Seminumerical Algorithms, 3rd edition (Addison-Wesley, Boston, 1998).

Example Usage of RANDU

aks514: Feel like ordering paneer korma and RANDU KP from DL for brunch
vilakudy: @ksekher oru Avtaar alle? Eee Bhoomiyil RANDU Avtaar-angalo? @agnnair
dragosf: am impodobit bradu. anu asta a fost RANDU meu
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.