Slightly different from fast Fourier transform Just the om variable declared in line 40 is divided by n and swapping the testing inputs with testing outputs .