skip to main content
article

Comparing the speed of programs for sparse polynomial multiplication

Published:01 March 2003Publication History
Skip Abstract Section

Abstract

How should one design and implement a program for the multiplication of sparse polynomials? This is a simple question, necessarily addressed by the builders of any computer algebra system (CAS). To examine a few options we start with a single easily-stated computation which we believe represents a useful benchmark of "medium difficulty" for CAS designs. We describe a number of design options and their effects on performance. We also examine the performance of a variety of commercial and freely-distributed systems. Important considerations include the cost of high-precision (exact) integer arithmetic and the effective use of cache memory.

References

  1. A. D. Hall. "The ALTRAN System for Rational Function Manipulation - A Survey", CACM 14(8):517--521 (Aug 1971). Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. R. Fateman. "A Lisp-language Mathematica-to-Lisp Translator," SIGSAM Bulletin 24 no. 2 p 19--21 (April, 1990). Also reprinted in Computer Algebra Nederland Nieuwsbrief 6, October, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. R. Fateman. "Importing Pre-packaged Software into Lisp: Experience with Arbitrary-Precision Floating-Point Numbers," Poster session, ISSAC 2000 International Symposium on Symbolic and Algebraic Computation, St. Andrews, Scotland, UK, August 2000., http://www.cs.berkeley.edu/~fateman/papers/mpflis.pdfGoogle ScholarGoogle Scholar
  4. R. Fateman. "Memory Cache and Lisp: Faster list processing via automatically rearranging memory," Draft, May 2002.Google ScholarGoogle Scholar
  5. Yozo Hida. "Data Structures and Cache Behavior of Sparse Polynomial Multiplication," Class project CS282, UC Berkeley, May, 2002.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

  • Published in

    cover image ACM SIGSAM Bulletin
    ACM SIGSAM Bulletin  Volume 37, Issue 1
    March 2003
    29 pages
    ISSN:0163-5824
    DOI:10.1145/844076
    Issue’s Table of Contents

    Copyright © 2003 Author

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 1 March 2003

    Check for updates

    Qualifiers

    • article

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader