#include <Eigen/Dense>
#include <unsupported/Eigen/FFT>
#include <iostream>
Go to the source code of this file.
Definition at line 8 of file test_eigen_fft.cxx.
10 Eigen::FFT<float> fft;
11 std::vector<float> timevec = {1,2,3,2,1};
12 std::vector<std::complex<float> > freqvec;
14 fft.fwd( freqvec,timevec);
16 fft.inv( timevec,freqvec);
18 for (
auto x: timevec) {
22 for (
auto x: freqvec) {
QTextStream & endl(QTextStream &s)