Skip to main content

Design and Implementation of Efficient and Portable Multiple Recursive Generators with Few Zero Coefficients

  • Conference paper
Monte Carlo and Quasi-Monte Carlo Methods 2006

Summary

DX-k, proposed by Deng and Xu [2003], is a special class of multiple Recursive Generators (MRGs) where all nonzero coefficients of the k-th order recurrence are equal. In particular, a DX-k generator requires only up to four nonzero coefficients in its recurrence equation, hence is very efficient in computation. However, a random number generator with few nonzero coefficients has a drawback that, when the k-dimensional state vector is close to the zero vector, the subsequent numbers generated may stay within a neighborhood of zero for quite many of them before they can break away from this near-zero land, a property apparently not desirable in the sense of randomness. Consequently, two generated sequences using the same DX generator with nearly identical initial state vectors may not depart from each other quickly enough. To avoid the above potential problem, we consider MRGs with very few zero coefficients. To make such generators efficient and portable, we propose selecting the same nonzero value for all coefficients (with at most one exception) in the recurrence equation. With this feature, the proposed generators can be implemented efficiently via a higher-order recurrence of few zero coefficients. Note that the new class of generators is an opposite of the DX generators in terms of the number of nonzero coefficients. Several such generators with the maximum period have been found via computer search and presented in the paper for ready implementation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. J. D. Alanen and D. E. Knuth. Tables of finite fields. Sankhyā, 26:305–328, 1964.

    MATH  MathSciNet  Google Scholar 

  2. L. Y. Deng. Generalized mersenne prime number and its application to random number generation. In H. Niederreiter, editor, Monte Carlo and Quasi-Monte Carlo Methods 2002, pages 167–180. Springer-Verlag, 2004.

    Google Scholar 

  3. L. Y. Deng. Efficient and portable multiple recursive generators of large order. ACM Transactions on Modeling and Computer Simulation, 15 (1):1–13, 2005.

    Article  Google Scholar 

  4. L. Y. Deng. Issues on computer search for large order multiple recursive generators. In S. Heinrich, A. Keller, and H. Niederreiter, editors, Monte Carlo and Quasi-Monte Carlo Methods 2006, pages 251–261. Springer-Verlag, 2007.

    Google Scholar 

  5. L. Y. Deng, H. Li, and J. J. H. Shiau. Efficient and portable multiple recursive generators of large order with many nonzero terms. preprint, 2005.

    Google Scholar 

  6. L. Y. Deng, D. K. J. Lin, J. Wang, and Y. Yuan. Statistical justification of combination generators. Statistica Sinica, 7:993–1003, 1997.

    MATH  MathSciNet  Google Scholar 

  7. L. Y. Deng and H. Xu. A system of high-dimensional, efficient, long-cycle and portable uniform random number generators. ACM Transactions on Modeling and Computer Simulation, 13(4):299–309, 2003.

    Article  Google Scholar 

  8. D. E. Knuth. The Art of Computer Programming, volume 2: Seminumerical Algorithms. Addison-Wesley, Reading, MA., third edition, 1998.

    Google Scholar 

  9. P. L'Ecuyer, F. Blouin, and R. Couture. A search for good multiple recursive linear random number generators. ACM Transactions on Modeling and Computer Simulation, 3:87–98, 1993.

    Article  MATH  Google Scholar 

  10. P. L'Ecuyer. Bad lattice structures for vectors of non-successive values produced by some linear recurrences. INFORMS Journal on Computing, 9:57–60, 1997.

    Article  MATH  MathSciNet  Google Scholar 

  11. P. L'Ecuyer. Good parameter sets for combined multiple recursive random number generators. Operations Research, 47:159–164, 1999.

    Article  MATH  Google Scholar 

  12. D. H. Lehmer. Mathematical methods in large-scale computing units. In Proceedings of the Second Symposium on Large Scale Digital Computing Machinery, pages 141–146, Cambridge, MA., 1951. Harvard University Press.

    Google Scholar 

  13. H. Li. A System of Efficient and Portable Multiple Recursive Generators of Large Order. PhD thesis, University of Memphis, Memphis, TN., U.S.A., 2005.

    Google Scholar 

  14. R. Lidl and H. Niederreiter. Introduction to Finite Fields and Their Applications. Cambridge University Press, Cambridge, MA., revised edition, 1994.

    MATH  Google Scholar 

  15. P. L'Ecuyer and R. Touzin. On the deng-lin random number generators and related methods. Statistical Computing, 14:5–9, 2004.

    Article  MathSciNet  Google Scholar 

  16. G. Marsaglia. Random numbers fall mainly in the planes. In Proceedings of the National Academy of Sciences, volume 61, pages 25–28, 1968.

    Google Scholar 

  17. G. Marsaglia. The Marsaglia random number CDROM including the DIEHARD battery of tests of randomness. http://stat.fsu.edu/pub/diehard, 1996.

  18. M. Matsumoto and T. Nishimura. Mersenne twister: A 623-dimensionally equidistributed uniform pseudo-random number generator. ACM Transactions on Modeling and Computer Simulation, 8(1):3–30, 1998.

    Article  MATH  Google Scholar 

  19. F. Panneton, P. L'Ecuyer, and M. Matsumoto. Improved long-period generators based on linear recurrences modulo 2. ACM Transactions on Mathematical Software, 32(1):1–16, 2006.

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Deng, LY., Li, H., Shiau, JJ., Tsai, GH. (2008). Design and Implementation of Efficient and Portable Multiple Recursive Generators with Few Zero Coefficients. In: Keller, A., Heinrich, S., Niederreiter, H. (eds) Monte Carlo and Quasi-Monte Carlo Methods 2006. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-74496-2_15

Download citation

Publish with us

Policies and ethics