primary.hpp

primary.hpp is the foundation of math.hpp.

basic.hpp

mod.hpp

fft.hpp

fast Fourier transform

It contains dft and idft in namespace FFT.

The size of is a pow of before you use dft(a) or idft(a)

ntt.hpp

number theory transform

It contains dft and idft in template classs NTT.

The template should be NTT-friendly, and size of is a pow of less that before you use dft(a) or idft(a)

fmt.hpp

fast Mobius transform