arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1112.4014cs.SC
收藏

用牛顿迭代法求多项式快速除法的一个注记

Note on fast division algorithm for polynomials using Newton iteration

Zhengjun Cao, Hanyue Cao

摘要:

多项式的经典除法算法需要对大小为$n$的输入进行$O(n^2)$运算。利用反转技术和牛顿迭代法,可将其改进为$O({M}(n))$,其中${M}$为乘法时间。但是该方法要求模的次数$x^l$应该是2的幂。如果$l$不是2的幂,并且$f(0)=1$,Gathen和Gerhard建议分别计算逆$f^{-1}$,模$x^{\lceil l/2^r\rceil}, x^{\lceil l/2^{r-1}\rceil},..., x^{\lceil l/2\rceil}, x^l$。但他们没有具体说明迭代步骤。本文证明了当$l$不是2的幂时,原牛顿迭代公式可以直接用于计算$f^{-1}\,{mod}\,x^{l}$而不需要任何额外的代价.

英文摘要:

The classical division algorithm for polynomials requires $O(n^2)$ operations for inputs of size $n$. Using reversal technique and Newton iteration, it can be improved to $O({M}(n))$, where ${M}$ is a multiplication time. But the method requires that the degree of the modulo, $x^l$, should be the power of 2. If $l$ is not a power of 2 and $f(0)=1$, Gathen and Gerhard suggest to compute the inverse,$f^{-1}$, modulo $x^{\lceil l/2^r\rceil}, x^{\lceil l/2^{r-1}\rceil},..., x^{\lceil l/2\rceil}, x^l$, separately. But they did not specify the iterative step. In this note, we show that the original Newton iteration formula can be directly used to compute $f^{-1}\,{mod}\,x^{l}$ without any additional cost, when $l$ is not a power of 2.

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

↑