You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This function maps the index `idx` in the output array of a Nabla FFT to the index `freqIdx` in the DFT such that `DFT[freqIdx] = NablaFFT[idx]`
172
+
// This function maps the index `outputIdx` in the output array of a Nabla FFT to the index `freqIdx` in the DFT such that `DFT[freqIdx] = NablaFFT[outputIdx]`
173
173
// This is because Cooley-Tukey + subgroup operations end up spewing out the outputs in a weird order
174
174
static uint32_t getDFTIndex(uint32_t outputIdx)
175
175
{
@@ -184,15 +184,15 @@ struct FFTIndexingUtils
184
184
}
185
185
186
186
// Mirrors an index about the Nyquist frequency in the DFT order
// Given an index `idx` of an element into the Nabla FFT, get the index into the Nabla FFT of the element corresponding to its negative frequency
193
-
static uint32_t getNablaMirrorIndex(uint32_t idx)
192
+
// Given an index `outputIdx` of an element into the Nabla FFT, get the index into the Nabla FFT of the element corresponding to its negative frequency
// When unpacking an FFT of two packed signals, given a `localElementIndex` representing a `globalElementIndex` you need its "mirror index" to unpack the value at
0 commit comments