paper

Putting Fürer Algorithm into Practice with the BPAS Library

arXiv:1811.01490

Abstract

Fast algorithms for integer and polynomial multiplication play an important role in scientific computing as well as in other disciplines. In 1971, Sch{ö}nhage and Strassen designed an algorithm that improved the multiplication time for two integers of at most bits to . In 2007, Martin Fürer presented a new algorithm that runs in , where is the iterated logarithm of . We explain how we can put Fürer'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 .

54 pages, 7 figures

Putting Fürer Algorithm into Practice with the BPAS Library · wovepaper