#include <iostream>
#include <bench/BenchUtil.h>
#include <complex>
#include <vector>
#include <Eigen/Core>
#include <unsupported/Eigen/FFT>
Go to the source code of this file.
Defines | |
#define | NDATA 1000000 |
#define | NFFT 1024 |
#define | TYPE float |
Functions | |
template<typename T > | |
void | bench (int nfft, bool fwd, bool unscaled=false, bool halfspec=false) |
int | main (int argc, char **argv) |
template<typename T > | |
string | nameof () |
template<> | |
string | nameof< double > () |
template<> | |
string | nameof< float > () |
template<> | |
string | nameof< long double > () |
#define NDATA 1000000 |
Definition at line 53 of file benchFFT.cpp.
#define NFFT 1024 |
Definition at line 50 of file benchFFT.cpp.
#define TYPE float |
Definition at line 46 of file benchFFT.cpp.
void bench | ( | int | nfft, |
bool | fwd, | ||
bool | unscaled = false , |
||
bool | halfspec = false |
||
) |
Definition at line 59 of file benchFFT.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 112 of file benchFFT.cpp.
string nameof | ( | ) |
string nameof< double > | ( | ) |
Definition at line 42 of file benchFFT.cpp.
string nameof< float > | ( | ) |
Definition at line 41 of file benchFFT.cpp.
string nameof< long double > | ( | ) |
Definition at line 43 of file benchFFT.cpp.