Macros | Functions
benchFFT.cpp File Reference
#include <iostream>
#include <bench/BenchUtil.h>
#include <complex>
#include <vector>
#include <Eigen/Core>
#include <unsupported/Eigen/FFT>
Include dependency graph for benchFFT.cpp:

Go to the source code of this file.

Macros

#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 > ()
 

Macro Definition Documentation

◆ NDATA

#define NDATA   1000000

Definition at line 38 of file benchFFT.cpp.

◆ NFFT

#define NFFT   1024

Definition at line 35 of file benchFFT.cpp.

◆ TYPE

#define TYPE   float

Definition at line 31 of file benchFFT.cpp.

Function Documentation

◆ bench()

template<typename T >
void bench ( int  nfft,
bool  fwd,
bool  unscaled = false,
bool  halfspec = false 
)

Definition at line 44 of file benchFFT.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 97 of file benchFFT.cpp.

◆ nameof()

template<typename T >
string nameof ( )

◆ nameof< double >()

template<>
string nameof< double > ( )

Definition at line 27 of file benchFFT.cpp.

◆ nameof< float >()

template<>
string nameof< float > ( )

Definition at line 26 of file benchFFT.cpp.

◆ nameof< long double >()

template<>
string nameof< long double > ( )

Definition at line 28 of file benchFFT.cpp.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:45