summaryrefslogtreecommitdiff
path: root/fourier.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'fourier.hpp')
-rw-r--r--fourier.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/fourier.hpp b/fourier.hpp
index 1ebb7bc..9451f69 100644
--- a/fourier.hpp
+++ b/fourier.hpp
@@ -19,10 +19,11 @@ Real ddf(Real λ, unsigned p, unsigned s, Real q);
class FourierTransform {
private:
- std::vector<Real> a;
- std::vector<Complex> â;
+ Real* a;
+ Complex* â;
fftw_plan plan_r2c;
fftw_plan plan_c2r;
+ unsigned n;
Real Δω;
Real Δτ;
public: