Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找编译 KISS_FFT (保持简单愚蠢),以便它可以接受一个双精度数组作为输入并输出一个双精度数组。
KISS_FFT 是一个库,它对一组数据进行快速傅立叶变换并输出结果。默认情况下,它看起来像使用浮点数据类型。
您只需要定义 makefile 变量DATATYPE,例如:
DATATYPE
make DATATYPE=double ...
这又将宏定义kiss_fft_scalar为double.
kiss_fft_scalar
double
要查看此操作:
cd test make DATATYPE=double test