23 #include <tensor/config.h>
24 #include <tensor/tensor.h>
26 #ifndef TENSOR_USE_FFTW3
27 #error "libtensor was built without the fftw3 interface"
42 const CTensor fftw(
const CTensor& in,
int direction);
44 const CTensor fftw(
const CTensor& in, index dim,
int direction);
46 const CTensor fftw(
const CTensor& in,
const Booleans& convert,
int direction);
50 void fftw_inplace(CTensor& in,
int direction);
52 void fftw_inplace(CTensor& in, index dim,
int direction);
54 void fftw_inplace(CTensor& in,
const Booleans& convert,
int direction);
66 const CTensor fftshift(
const CTensor& in,
int direction);
68 const CTensor fftshift(
const CTensor& in, index dim,
int direction);
70 const CTensor fftshift(
const CTensor& in,
const Booleans& convert,
int direction);
74 #endif // TENSOR_FFT_H