A Survey of Gaussian Convolution Algorithms
num.h
Go to the documentation of this file.
1 
19 #ifndef _NUM_H_
20 #define _NUM_H_
21 
27 #ifdef NUM_SINGLE
28 typedef float num;
29 #else
30 typedef double num;
31 #endif
32 
41 #define _FFTW_CONCAT(A,B) A ## B
42 #ifdef NUM_SINGLE
43 #define FFT(S) _FFTW_CONCAT(fftwf_,S)
44 #else
45 #define FFT(S) _FFTW_CONCAT(fftw_,S)
46 #endif
47 
52 #ifdef NUM_SINGLE
53 #define IMAGEIO_NUM IMAGEIO_SINGLE
54 #else
55 #define IMAGEIO_NUM IMAGEIO_DOUBLE
56 #endif
57 
58 #endif