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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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)
Bernstein, D.: Scaled remainder trees (2004). https://cr.yp.to/arith/scaledmod-20040820.pdf
Borodin, A., Moenck, R.T.: Fast modular transforms. J. Comput. Syst. Sci. 8, 366–386 (1974)
Bostan, A., Lecerf, G., Schost, É.: Tellegen’s principle into practice. In: Proceedings of ISSAC 2003, pp. 37–44. ACM Press (2003)
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
Cooley, J.W., Tukey, J.W.: An algorithm for the machine calculation of complex Fourier series. Math. Comput. 19, 297–301 (1965)
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
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)
von zur Gathen, J., Gerhard, J.: Modern Computer Algebra, 3rd edn. Cambridge University Press, New York (2013)
van der Hoeven, J.: Faster Chinese remaindering. Technical report, HAL (2016). http://hal.archives-ouvertes.fr/hal-01403810
van der Hoeven, J., Lecerf, G., Mourrain, B., et al.: Mathemagix (2002). http://www.mathemagix.org
van der Hoeven, J., Lecerf, G., Quintin, G.: Modular SIMD arithmetic in Mathemagix. ACM Trans. Math. Softw. 43(1), 5:1–5:37 (2016)
Karatsuba, A., Ofman, J.: Multiplication of multidigit numbers on automata. Soviet Phys. Doklady 7, 595–596 (1963)
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)
The PARI Group, Bordeaux. PARI/GP (2012). Software. http://pari.math.u-bordeaux.fr
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
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)