Skip to main content

Implementing Data Parallel Rational Multiple-Residue Arithmetic in Eden

  • Conference paper
Book cover Computer Algebra in Scientific Computing (CASC 2010)

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

Included in the following conference series:

Abstract

Residue systems present a well-known way to reduce computation cost for symbolic computation. However most residue systems are implemented for integers or polynomials. This work combines two known results in a novel manner. Firstly, it lifts an integral residue system to fractions. Secondly, it generalises a single-residue system to a multiple-residue one. Combined, a rational multi-residue system emerges. Due to the independent manner of single “parts” of the system, this work enables progress in parallel computing. We present a complete implementation of the arithmetic in the parallel extension e.g.. The parallelisation utilises algorithmic skeletons. A non-trivial example computation is also supplied.

Supported by DFG grant LO 630-3/1.

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Berthold, J., Loogen, R.: Visualizing Parallel Functional Program Executions: Case Studies with the Eden Trace Viewer. In: ParCo 2007. IOS Press, Amsterdam (2007)

    Google Scholar 

  2. Borosh, I., Fraenkel, A.S.: Exact solutions of linear equations with rational coefficients by congruence techniques. Math. Comp. 20(93), 107–112 (1966)

    Article  MathSciNet  MATH  Google Scholar 

  3. Dieterle, M., Horstmeyer, T., Loogen, R.: Skeleton composition using remote data. In: Carro, M., Peña, R. (eds.) PADL 2010. LNCS, vol. 5937, pp. 73–87. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  4. Gregory, R.T.: Error-free computation with rational numbers. BIT Numerical Mathematics 21(2), 194–202 (1981)

    Article  MathSciNet  MATH  Google Scholar 

  5. Gregory, R.T., Krishnamurthy, E.V.: Methods and Applications of Error–Free Computation. Springer, Heidelberg (1984)

    Book  MATH  Google Scholar 

  6. Kornerup, P., Gregory, R.T.: Mapping integers and Hensel codes onto Farey fractions. BIT Numerical Mathematics 23(1), 9–20 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  7. Lobachev, O.: Multimodulare Arithmetik, Justus-Liebig-Universität Gießen. Diplomarbeit (March 2007) (in German), http://www.mathematik.uni-marburg.de/~lobachev/diplom.pdf

  8. Loogen, R., Ortega-Mallén, Y., Peña, R., Priebe, S., Rubio, F.: Parallelism Abstractions in Eden. In: Rabhi, F.A., Gorlatch, S. (eds.) Patterns and Skeletons for Parallel and Distributed Computing. Springer, Heidelberg (2003)

    Google Scholar 

  9. Loogen, R., Ortega-Mallén, Y., Peña-Marí, R.: Parallel Functional Programming in Eden. Journal of Functional Programming 15(3), 431–475 (2005)

    Article  MATH  Google Scholar 

  10. Peyton Jones, S. (ed.): Haskell 98 Language and Libraries: The Revised Report. Cambridge University Press, Cambridge (December 2003)

    MATH  Google Scholar 

  11. Rao, T.M., Gregory, R.T.: Conversion of Hensel codes to rational numbers. Comp. Math. 10(2), 185–189 (1984)

    MathSciNet  MATH  Google Scholar 

  12. Svoboda, A., Valach, M.: Rational system of residue classes. In: Stroje na Zpraccorani Informaci, Sbornik, Nakl, CSZV, Prague, pp. 9–37 (1957)

    Google Scholar 

  13. von zur Gathen, J., Gerhard, J.: Modern Computer Algebra, 2nd edn. Cambridge University Press, Cambridge (2003)

    MATH  Google Scholar 

  14. Wang, P.S.: A p-adic algorithm for univariate partial fractions. In: Proc. ACM Symposium on Symbolic and Algebraic Computation, pp. 212–217. ACM, New York (1981)

    Google Scholar 

  15. Wang, P.S., Guy, M.J.T., Davenport, J.H.: p-adic reconstruction of rational numbers. ACM SIGSAM Bulletin 16(2), 3 (1982)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lobachev, O., Loogen, R. (2010). Implementing Data Parallel Rational Multiple-Residue Arithmetic in Eden. In: Gerdt, V.P., Koepf, W., Mayr, E.W., Vorozhtsov, E.V. (eds) Computer Algebra in Scientific Computing. CASC 2010. Lecture Notes in Computer Science, vol 6244. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-15274-0_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-15274-0_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-15273-3

  • Online ISBN: 978-3-642-15274-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics