options.h

来自「用于实现非均匀采样FFT(NDFT)」· C头文件 代码 · 共 41 行

H
41
字号
/******************************************************************************//* options.h                                                                  *//* options for the direct and fast computation of the NDFT                    *//*                                                                            *//* authors: D. Potts                                                          *//*	    S. Kunis 2002                                                     *//******************************************************************************//** window */	#define KAISER_BESSEL                                        /* one of KAISER_BESSEL,SINC_POWER    */					/* B_SPLINE,GAUSSIAN,                 *//** fftw */#include "fftw3.h"/** timing *//*#define MEASURE_TIME*/                                        /* measure time for each step         *//** timing  */#ifdef MEASURE_TIMEdouble elapsed_time;#define T1 {elapsed_time=second();}#define T2(a) {                                                                \ elapsed_time=second()-elapsed_time;                                           \ printf("Step %d. elapsed time: %f secs.\n",(a),elapsed_time);                 \ /*printf("%f\t",elapsed_time);*/                                              \ fflush(stdout);                                                               \}#else#define T1#define T2(a)#endif/* options.h */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?