Note on fast division algorithm for polynomials using Newton iteration

preprint2011arXivOpen access

Abstract

The classical division algorithm for polynomials requires O(n2)O(n^2) operations for inputs of size nn. Using reversal technique and Newton iteration, it can be improved to O(M(n))O({M}(n)), where M{M} is a multiplication time. But the method requires that the degree of the modulo, xlx^l, should be the power of 2. If ll is not a power of 2 and f(0)=1f(0)=1, Gathen and Gerhard suggest to compute the inverse,f−1f^{-1}, modulo x⌈l/2r⌉,x⌈l/2r−1⌉,...,x⌈l/2⌉,xlx^{\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 xlf^{-1}\,{mod}\,x^{l} without any additional cost, when ll is not a power of 2.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.