Source: https://cims.nyu.edu/~regev/teaching/lattices_fall_2004/ln/FourierTransform.pdf