Source: https://www.itl.nist.gov/div898/software/dataplot/refman2/ch3/inve_fft.pdf