快速多项式求值和合成
Fast polynomial evaluation and composition
摘要:
Sage的库\emph{fast\_polynomial}可编译多元多项式,以便随后进行快速计算。几个评估方案的处理,如Hörner,分而治之,新的可以很容易地添加。值得注意的是,一个新的计划,改进了经典的分而治之的计划时,条款的数量不是一个纯粹的权力2。本机,库处理gmp大整数,boost区间,python数值类型的多项式。由于模板设计,任何支持加法和乘法的类型都可以扩展库。最后,代码被并行化的分而治之方案,和内存分配的本地化和优化不同的评估方案。此扩展摘要介绍了\emph{fast\_polynomial}库背后的概念。sage软件包可在\url{http://trac.sagemath.org/sage_trac/ticket/13358}下载。
英文摘要:
The library \emph{fast\_polynomial} for Sage compiles multivariate polynomials for subsequent fast evaluation. Several evaluation schemes are handled, such as Hörner, divide and conquer and new ones can be added easily. Notably, a new scheme is introduced that improves the classical divide and conquer scheme when the number of terms is not a pure power of two. Natively, the library handles polynomials over gmp big integers, boost intervals, python numeric types. And any type that supports addition and multiplication can extend the library thanks to the template design. Finally, the code is parallelized for the divide and conquer schemes, and memory allocation is localized and optimized for the different evaluation schemes. This extended abstract presents the concepts behind the \emph{fast\_polynomial} library. The sage package can be downloaded at \url{http://trac.sagemath.org/sage_trac/ticket/13358}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。