summaryrefslogtreecommitdiff
path: root/fourier.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'fourier.hpp')
-rw-r--r--fourier.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/fourier.hpp b/fourier.hpp
index 22a57e7..1708667 100644
--- a/fourier.hpp
+++ b/fourier.hpp
@@ -44,15 +44,14 @@ private:
fftw_plan a_to_â;
fftw_plan â_to_a;
unsigned N;
+ unsigned pad;
Real k;
Real Δτ;
- Real Δω;
- Real Δs;
Real τₛ;
Real ωₛ;
Real sₛ;
public:
- LogarithmicFourierTransform(unsigned N, Real k, Real Δω, Real Δτ, Real Δs);
+ LogarithmicFourierTransform(unsigned N, Real k, Real Δτ, unsigned pad = 4);
~LogarithmicFourierTransform();
Real τ(unsigned n) const;
Real ω(unsigned n) const;
@@ -60,10 +59,7 @@ public:
Real ν(unsigned n) const;
Real s(unsigned n) const;
std::vector<Complex> fourier(const std::vector<Real>& c, bool symmetric);
- std::vector<Complex> fourier();
std::vector<Real> inverse(const std::vector<Complex>& ĉ);
- void writeToA(unsigned i, Real ai);
- std::vector<Real> convolve(const std::vector<Real>& Γh, const std::vector<Real>& R);
};
Complex gamma(Complex z);