#include <vector>
#include <complex>
#include <algorithm>
#include <iterator>
#include <iostream>
#include <Eigen/Core>
#include <unsupported/Eigen/FFT>
Go to the source code of this file.
Functions | |
void | demo_all_types (int nfft) |
template<typename T_time , typename T_freq > | |
void | fwd_inv (size_t nfft) |
template<typename T > | |
T | mag2 (T a) |
template<typename T > | |
T | mag2 (std::complex< T > a) |
template<typename T > | |
T | mag2 (const std::vector< T > &vec) |
template<typename T > | |
T | mag2 (const std::vector< std::complex< T > > &vec) |
int | main () |
template<typename T > | |
vector< T > | operator- (const vector< T > &a, const vector< T > &b) |
template<typename T > | |
void | RandomFill (std::vector< T > &vec) |
template<typename T > | |
void | RandomFill (std::vector< std::complex< T > > &vec) |
template<typename T_scalar > | |
void | two_demos (int nfft) |
void demo_all_types | ( | int | nfft | ) |
Definition at line 101 of file doc/examples/FFT.cpp.
void fwd_inv | ( | size_t | nfft | ) |
Definition at line 75 of file doc/examples/FFT.cpp.
Definition at line 23 of file doc/examples/FFT.cpp.
Definition at line 28 of file doc/examples/FFT.cpp.
T mag2 | ( | const std::vector< T > & | vec | ) |
Definition at line 34 of file doc/examples/FFT.cpp.
T mag2 | ( | const std::vector< std::complex< T > > & | vec | ) |
Definition at line 43 of file doc/examples/FFT.cpp.
int main | ( | void | ) |
Definition at line 112 of file doc/examples/FFT.cpp.
Definition at line 52 of file doc/examples/FFT.cpp.
void RandomFill | ( | std::vector< T > & | vec | ) |
Definition at line 61 of file doc/examples/FFT.cpp.
void RandomFill | ( | std::vector< std::complex< T > > & | vec | ) |
Definition at line 68 of file doc/examples/FFT.cpp.
void two_demos | ( | int | nfft | ) |
Definition at line 93 of file doc/examples/FFT.cpp.