The Design of Maple's Sum-of-Products and POLY Data Structures for Representing Mathematical Objects

Author:

Monagan Michael1,Pearce Roman1

Affiliation:

1. Simon Fraser University, Burnaby, British Columbia

Abstract

The principal data structure Maple uses to represent polynomials and general mathematical expressions involving functions like sin x, e 2x , y'(x),(n/k) etc., is known to the Maple developers as the sum-of-products data structure. Gaston Gonnet, as the primary author of the Maple kernel, designed and implemented this data structure in the early 1980s. As part of the process of simplifying a mathematical formula, he represented every Maple object and every sub-object uniquely in memory. This makes testing for equality of expressions very fast. In this article, on occasion of Gonnet's retirement, we present details of his design, its pros and cons, and changes we and others have made to it over the years. One of the cons of the sum-of-products data structure is it is not as efficient at multiplying multivariate polynomials as other special purpose computer algebra systems. We describe a new data structure called POLY that we added to Maple 17 (released in 2013) to improve performance for polynomials in Maple, and recent work done for Maple 18 (released in 2014).

Publisher

Association for Computing Machinery (ACM)

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. An Interpolation Algorithm for Computing Dixon Resultants;Computer Algebra in Scientific Computing;2022

2. Sparse nonnegative convolution is equivalent to dense nonnegative convolution;Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing;2021-06-15

3. Algorithms and Data Structures for Sparse Polynomial Arithmetic;Mathematics;2019-05-17

4. What Can (and Can't) we Do with Sparse Polynomials?;Proceedings of the 2018 ACM International Symposium on Symbolic and Algebraic Computation;2018-07-11

5. Sparse Polynomial Arithmetic with the BPAS Library;Developments in Language Theory;2018

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3