summaryrefslogtreecommitdiffhomepage
path: root/autocorrelation.h
blob: 3be0802b3e9b06f1c3844d70ca5494c5724e41b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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