An example of using the real-to-complex FFT functions.
#include <stdio.h>
#include <stdlib.h>
#define SAMPLES 16
{
{
fprintf(stderr, "Failed to initialise Ne10.\n");
return 1;
}
{
}
{
printf( "IN[%2d]: %10.4f\t", i, src[i]);
if (i <= SAMPLES / 2)
printf("OUT[%2d]: %10.4f + %10.4fi", i, dst[i].r, dst[i].i);
printf("\n");
}
return 0;
}