arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.02967cs.SCcs.CC
收藏

原地多项式乘法的通用约简

Generic reductions for in-place polynomial multiplication

Pascal Giorgi, Bruno Grenet, Daniel Roche

摘要:

自计算机代数的早期以来,多项式乘法问题已经引起了相当大的关注,并且已经设计了几种算法来实现尽可能好的时间复杂度。最近,人们努力改善空间复杂度,开发了一些特定算法的修改版本,以在保持相同的渐近运行时间的同时不使用额外的空间。在这项工作中,我们在两个方面扩大了范围。首先,我们要问的是,一个任意的乘法算法是否可以在原地通用地执行。其次,我们考虑两个重要的变量,它们只产生部分结果(因此具有较少的空间),即所谓的中间产品和短产品,并询问这些操作是否也可以就地执行。为了(大多数情况下)肯定地回答这两个问题,我们从任何线性空间乘法算法开始提供一系列约简。对于完整的和短的产品算法,这些减少产生的到位版本具有相同的渐近时间复杂度的out-of-place版本。对于中间积,只有当算法是准线性的时,约简才在时间复杂度中引起额外的对数因子。

英文摘要:

The polynomial multiplication problem has attracted considerable attention since the early days of computer algebra, and several algorithms have been designed to achieve the best possible time complexity. More recently, efforts have been made to improve the space complexity, developing modified versions of a few specific algorithms to use no extra space while keeping the same asymptotic running time. In this work, we broaden the scope in two regards. First, we ask whether an arbitrary multiplication algorithm can be performed in-place generically. Second, we consider two important variants which produce only part of the result (and hence have less space to work with), the so-called middle and short products, and ask whether these operations can also be performed in-place. To answer both questions in (mostly) the affirmative, we provide a series of reductions starting with any linear-space multiplication algorithm. For full and short product algorithms these reductions yield in-place versions with the same asymptotic time complexity as the out-of-place version. For the middle product, the reduction incurs an extra logarithmic factor in the time complexity only when the algorithm is quasi-linear.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑