Indexing is bottleneck for transforms. Switching to standard representation for FFT will resolve this. Right now the basis functions for the Fourier series are single-variable trigonometric functions, ...
This chapter focuses on Fourier series and frequency content of digital signals. There are two forms of the Fourier series: trigonometric and exponential. The complex exponential form is more useful ...