Bsoft
2.1.0
Bernard's software package
fft.h
Go to the documentation of this file.
1
10
#include "
Complex.h
"
11
#include "
Vector3.h
"
12
13
#include <fftw3.h>
14
15
// This must be updated together with the FFTW3 package
16
#define FFTW3_VERSION "3.3.6-pl2"
17
18
typedef
fftwf_complex
fft_complex
;
19
typedef
int
fft_direction
;
20
typedef
fftwf_plan
fft_plan
;
21
22
#define MAX_RANK 3 // Only up to 3D transforms
23
24
/* Function prototypes */
25
fft_plan
fft_setup_plan
(
long
x,
long
y,
long
z,
fft_direction
dir,
int
opt);
26
fft_plan
fft_setup_plan
(
Vector3<long>
size,
fft_direction
dir,
int
opt);
27
int
fft_destroy_plan
(
fft_plan
plan);
28
int
fftw
(
fft_plan
plan,
Complex<float>
* a);
Complex
Definition:
Complex.h:23
Vector3< long >
Complex.h
Class for complex numbers.
fft_direction
int fft_direction
Definition:
fft.h:19
fft_destroy_plan
int fft_destroy_plan(fft_plan plan)
Deallocates a plan for fast Fourier transforms.
Definition:
fft.cpp:87
fftw
int fftw(fft_plan plan, Complex< float > *a)
Fast Fourier transforms a data array.
Definition:
fft.cpp:106
Vector3.h
Class for 3-value vectors.
fft_setup_plan
fft_plan fft_setup_plan(long x, long y, long z, fft_direction dir, int opt)
Sets up a plan for fast Fourier transforms.
Definition:
fft.cpp:31
fft_complex
fftwf_complex fft_complex
Definition:
fft.h:18
fft_plan
fftwf_plan fft_plan
Definition:
fft.h:20
include
fft.h
Generated on Mon Oct 26 2020 09:24:41 for Bsoft by
1.8.20