This file define the twiddle factors table
Definition in file trans_dsp16_twiddle_factors.h.
#include "dsp.h"
Go to the source code of this file.
Defines | |
Twiddle factors table | |
#define | DSP16_N_TWIDDLE_FACTORS 1024 |
This constant defines the size of the twiddle factors table we want to store in memory. i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow:. | |
Variables | |
TWIDDLE_FACTORS_PREFIX_TAB dsp16_t | dsp16_twiddle_factors [] |
This constant permits you to add attributes to the twiddle factors table. It is useful if you want to store the table into another memory for example. i.e.:. | |
TWIDDLE_FACTORS_PREFIX_TAB dsp16_t | dsp16_twiddle_factors2 [] |
This table has been generated using the following algorithm:. |
TWIDDLE_FACTORS_PREFIX_TAB dsp16_t dsp16_twiddle_factors2[] |
This table has been generated using the following algorithm:.
for i=0:4:DSP16_N_TWIDDLE_FACTORS-4, k = i/(DSP16_N_TWIDDLE_FACTORS*4); w2 = exp(-2*PI*%i*k*2); w3 = exp(-2*PI*%i*k*3); end;
Definition at line 598 of file trans_dsp16_twiddle_factors.c.
Referenced by dsp16_trans_complexfft(), dsp16_trans_complexifft(), and dsp16_trans_realcomplexfft().