What is the equivalent function in KissFFT for fftw_plan_dft_r2c_1d () from FFTW?

I have a project that uses fftw_plan_dft_r2c_1dboth fftw_plan_dft_c2r_1dfrom FFTW as well fftw_execute. What are the equivalent functions in KissFFT?

+3
source share
1 answer

You need to use the reality-optimized functions in kiss_fftr.h (in a subdirectory tools). Use kiss_fftr_allocFFTW with fftw_plan_dft_r2c_1dand instead of setting up “plans” fftw_plan_dft_c2r_1d. Use kiss_fftrand kiss_fftrito perform forward / reverse conversions instead of calling FFTW fftw_execute. Remember to call kiss_fftr_freewhen done.

+4
source

Source: https://habr.com/ru/post/1783849/


All Articles