-
Notifications
You must be signed in to change notification settings - Fork 13
Inverse FFT negates every input instead of twiddles, could be sped up? #98
Copy link
Copy link
Open
Description
This code is negating the imaginary component of the input for reverse FFT on each reverse FFT operation instead of negating twiddles once in the planner:
Lines 284 to 289 in 3fc78e0
| // Handle inverse FFT | |
| if let Direction::Reverse = planner.direction { | |
| for z_im in imags.iter_mut() { | |
| *z_im = -*z_im; | |
| } | |
| } |
The doc comment on direction mentions adjusting the twiddles, but that's not how it currently works:
Lines 12 to 13 in 3fc78e0
| /// Multiply the exponent term in the twiddle factor by -1 | |
| Reverse = -1, |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels