gen_rader_codelet!() { /* proc-macro */ }Expand description
Generate a Rader prime DFT codelet for primes 11 and 13.
The generated function uses the Rader algorithm to reduce the prime-size DFT to a cyclic convolution, computed as straight-line code with hardcoded twiddle factors. Generator g = 2 for both supported primes.
§Arguments
- The prime literal — must be 11 or 13.
§Example
ⓘ
gen_rader_codelet!(11); // emits `codelet_notw_11`
gen_rader_codelet!(13); // emits `codelet_notw_13`