ntt(seq, prime) and intt(seq, prime) are the discrete Fourier transform
and its inverse over the integers modulo a prime of the form m 2^k + 1.
The sequence is padded with zeros to a power of two.
ntt(seq, prime) and intt(seq, prime) are the discrete Fourier transform
and its inverse over the integers modulo a prime of the form m 2^k + 1.
The sequence is padded with zeros to a power of two.