[Tutorial] Linear Time FFT

Правка en1, от TheBhediyaOfDalalStreet, 2023-02-14 20:15:30

Hell guys, today I gonna teach you to do linear time FFT.

Below is the problem:

Q) Given array of n integers, do First Four Traversal on array.

eg. array is [1, 2, 3, 4, 5, 6, 2, 1], then FFT of array is [1, 2, 3, 4].

So in first, it look very dangerous problem, but on meticulous scrutiny of the underlying scheme, we find easy solution.

So to solve, we iterate over the array in the forward direction, and compute the

Теги fft, tutorial

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский TheBhediyaOfDalalStreet 2023-02-24 07:45:16 0 (published)
en5 Английский TheBhediyaOfDalalStreet 2023-02-19 20:16:17 22
en4 Английский TheBhediyaOfDalalStreet 2023-02-17 19:19:26 6 Tiny change: 'ay xc = x[5] * x[5]. This i' -> 'ay xc = x[0:5] ⋆ x[0:5]. This i'
en3 Английский TheBhediyaOfDalalStreet 2023-02-17 19:15:09 61
en2 Английский TheBhediyaOfDalalStreet 2023-02-16 17:19:10 956 Tiny change: 'his blog._' -> 'his blog._\n\nTime complexity analysis: Linear'
en1 Английский TheBhediyaOfDalalStreet 2023-02-14 20:15:30 465 Initial revision (saved to drafts)