47 fprintf(stderr,
"Failed to initialise Ne10.\n");
57 for (
int i = 0; i <
SAMPLES; i++)
67 for (
int i = 0; i <
SAMPLES; i++)
69 printf(
"IN[%2d]: %10.4f + %10.4fi\t", i, src[i].r, src[i].i);
70 printf(
"OUT[%2d]: %10.4f + %10.4fi\n", i, dst[i].r, dst[i].i);
Structure for the floating point FFT state.
void(* ne10_fft_c2c_1d_float32)(ne10_fft_cpx_float32_t *fout, ne10_fft_cpx_float32_t *fin, ne10_fft_cfg_float32_t cfg, ne10_int32_t inverse_fft)
Mixed radix-2/3/4/5 complex FFT/IFFT of single precision floating point data.
ne10_fft_cfg_float32_t(* ne10_fft_alloc_c2c_float32)(ne10_int32_t nfft)
Creates a configuration structure for ne10_fft_c2c_1d_float32.
ne10_result_t ne10_init(void)
void ne10_fft_destroy_c2c_float32(ne10_fft_cfg_float32_t)
Destroys the configuration structure allocated by variants of ne10_fft_alloc_c2c_float32 (frees memor...
int complex_fft_sample_main(void)