Putting F\"urer Algorithm into Practice with the BPAS Library
Abstract
Fast algorithms for integer and polynomial multiplication play an important role in scientific computing as well as in other disciplines. In 1971, Sch{\"o}nhage and Strassen designed an algorithm that improved the multiplication time for two integers of at most bits to . In 2007, Martin F\"urer presented a new algorithm that runs in , where is the iterated logarithm of . We explain how we can put F\"urer's ideas into practice for multiplying polynomials over a prime field , for which is a Generalized Fermat prime of the form where is a power of and is of machine word size. When is at least 8, we show that multiplication inside such a prime field can be efficiently implemented via Fast Fourier Transform (FFT). Taking advantage of Cooley-Tukey tensor formula and the fact that is a -th primitive root of unity in , we obtain an efficient implementation of FFT over . This implementation outperforms comparable implementations either using other encodings of or other ways to perform multiplication in .
Cite
@article{arxiv.1811.01490,
title = {Putting F\"urer Algorithm into Practice with the BPAS Library},
author = {Sviatoslav Covanov and Davood Mohajerani and Marc Moreno-Maza and Lin-Xiao Wang},
journal= {arXiv preprint arXiv:1811.01490},
year = {2018}
}
Comments
54 pages, 7 figures