diff options
author | Roland Stigge <stigge@antcom.de> | 2019-02-17 12:55:13 +0100 |
---|---|---|
committer | Roland Stigge <stigge@antcom.de> | 2019-02-17 12:55:13 +0100 |
commit | fef594c82518a8fe4c96794852c1fc849c0ed3b3 (patch) | |
tree | 2efbedc8b126a77d91633ce8b9201dc4a7db764c /autocorrelation.h | |
parent | 1a219839034e9b11a4771fb84c90d4a2667365ce (diff) |
Added tunerdemo
Diffstat (limited to 'autocorrelation.h')
-rw-r--r-- | autocorrelation.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/autocorrelation.h b/autocorrelation.h new file mode 100644 index 0000000..3be0802 --- /dev/null +++ b/autocorrelation.h @@ -0,0 +1,20 @@ +#pragma once + +#include <complex> +#include <memory> +#include <vector> + +namespace RIT { + +class AutoCorrelation { +public: + AutoCorrelation(int size); + ~AutoCorrelation(); + std::vector<std::complex<double>> operator()(const std::vector<std::complex<double>> &v) const; + +private: + struct Impl; + std::unique_ptr<Impl> mImpl; +}; // class AutoCorrelation + +} // namespace RIT |