Skip to main content

Fast Chinese Remaindering in Practice

  • Conference paper
  • First Online:
Book cover Mathematical Aspects of Computer and Information Sciences (MACIS 2017)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10693))

Abstract

The Chinese remainder theorem is a key tool for the design of efficient multi-modular algorithms. In this paper, we study the case when the moduli \(m_1, \ldots , m_{\ell }\) are fixed and can even be chosen by the user. If \(\ell \) is small or moderately large, then we show how to choose gentle moduli that allow for speedier Chinese remaindering. The multiplication of integer matrices is one typical application where we expect practical gains for various common matrix dimensions and bitsizes of the coefficients.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

References

  1. Bajard, J.C., Kaihara, M.E., Plantard, T.: Selected RNS bases for modular multiplication. In: Proceedings of the 19th IEEE Symposium on Computer Arithmetic, pp. 25–32 (2009)

    Google Scholar 

  2. Bernstein, D.: Scaled remainder trees (2004). https://cr.yp.to/arith/scaledmod-20040820.pdf

  3. Borodin, A., Moenck, R.T.: Fast modular transforms. J. Comput. Syst. Sci. 8, 366–386 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bostan, A., Lecerf, G., Schost, É.: Tellegen’s principle into practice. In: Proceedings of ISSAC 2003, pp. 37–44. ACM Press (2003)

    Google Scholar 

  5. Bostan, A., Schost, É.: Polynomial evaluation and interpolation on special sets of points. J. Complex. 21(4), 420–446 (2005). Festschrift for the 70th Birthday of Arnold Schönhage

    Article  MathSciNet  MATH  Google Scholar 

  6. Cooley, J.W., Tukey, J.W.: An algorithm for the machine calculation of complex Fourier series. Math. Comput. 19, 297–301 (1965)

    Article  MathSciNet  MATH  Google Scholar 

  7. Doliskani, J., Giorgi, P., Lebreton, R., Schost, É.: Simultaneous conversions with the Residue Number System using linear algebra. Technical report, HAL (2016). https://hal-lirmm.ccsd.cnrs.fr/lirmm-01415472

  8. Fiduccia, C.M.: Polynomial evaluation via the division algorithm: the fast Fourier transform revisited. In: Rosenberg, A.L. (ed.) Fourth Annual ACM Symposium on Theory of Computing, pp. 88–93 (1972)

    Google Scholar 

  9. von zur Gathen, J., Gerhard, J.: Modern Computer Algebra, 3rd edn. Cambridge University Press, New York (2013)

    Book  MATH  Google Scholar 

  10. van der Hoeven, J.: Faster Chinese remaindering. Technical report, HAL (2016). http://hal.archives-ouvertes.fr/hal-01403810

  11. van der Hoeven, J., Lecerf, G., Mourrain, B., et al.: Mathemagix (2002). http://www.mathemagix.org

  12. van der Hoeven, J., Lecerf, G., Quintin, G.: Modular SIMD arithmetic in Mathemagix. ACM Trans. Math. Softw. 43(1), 5:1–5:37 (2016)

    Article  MathSciNet  Google Scholar 

  13. Karatsuba, A., Ofman, J.: Multiplication of multidigit numbers on automata. Soviet Phys. Doklady 7, 595–596 (1963)

    Google Scholar 

  14. Moenck, R.T., Borodin, A.: Fast modular transforms via division. In: Thirteenth annual IEEE Symposium on Switching and Automata Theory, pp. 90–96, University of Maryland, College Park (1972)

    Google Scholar 

  15. The PARI Group, Bordeaux. PARI/GP (2012). Software. http://pari.math.u-bordeaux.fr

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Joris van der Hoeven .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

van der Hoeven, J. (2017). Fast Chinese Remaindering in Practice. In: Blömer, J., Kotsireas, I., Kutsia, T., Simos, D. (eds) Mathematical Aspects of Computer and Information Sciences. MACIS 2017. Lecture Notes in Computer Science(), vol 10693. Springer, Cham. https://doi.org/10.1007/978-3-319-72453-9_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-72453-9_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-72452-2

  • Online ISBN: 978-3-319-72453-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics