#include <fft.hpp>
FourierTransform class implements a Cooley–Tukey algorithm for fast matvec with DFT matrix and direct matvec for testing.
Definition at line 45 of file fft.hpp.
Public Types | |
| enum | mv_mode { normal, conj } |
| Type of matrix which will be use in operations: DFT or its conjugate. More... | |
Public Member Functions | |
| FourierTransform (unsigned _k) | |
| Initialize FourierTransform for DFT NxN matrix with N=2^k. | |
| void | Matvec (const Complex *vec, Complex *res, mv_mode mode=normal) const |
| Direct matvec DFT matrix with a vector. | |
| void | MatvecFast (const Complex *vec, Complex *res, mv_mode mode=normal) |
| Fast matvec DFT matrix with a vector. | |
| ~FourierTransform () | |
| The destructor. | |
|
|
Type of matrix which will be use in operations: DFT or its conjugate.
|
|
|
Initialize FourierTransform for DFT NxN matrix with N=2^k.
|
|
|
The destructor.
|
|
||||||||||||||||
|
Direct matvec DFT matrix with a vector.
Definition at line 103 of file fft.cpp. References conj. |
|
||||||||||||||||
|
Fast matvec DFT matrix with a vector.
Definition at line 121 of file fft.cpp. References conj. Referenced by SmoluchowskiCalcFast::calc_L1(), SmoluchowskiCalcFast::calc_L1_fix_f(), SmoluchowskiCalcFast::calc_L2(), SmoluchowskiCalcFast::calc_L2_fix_f(), and SmoluchowskiCalcFast::fix_f_arg(). |