문제

I've got a project that uses fftw_plan_dft_r2c_1d and fftw_plan_dft_c2r_1d from FFTW, as well as fftw_execute. What are the equivalent functions in KissFFT?

도움이 되었습니까?

해결책

You need to use the real-optimised functions in kiss_fftr.h (in the tools subdirectory). Use kiss_fftr_alloc instead of setting up FFTW "plans" with fftw_plan_dft_r2c_1d and fftw_plan_dft_c2r_1d. Use kiss_fftr and kiss_fftri to do the forward/inverse transforms instead of calling FFTW's fftw_execute. Don't forget to call kiss_fftr_free when you're done.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top