|
numerics
|
#include "spectral/fft.hpp"#include "backends/seq/impl.hpp"#include "backends/opt/impl.hpp"#include "backends/fftw/impl.hpp"#include <stdexcept>Go to the source code of this file.
Namespaces | |
| namespace | num |
| namespace | num::spectral |
Functions | |
| void | num::spectral::fft (const CVector &in, CVector &out, FFTBackend b=default_fft_backend) |
| Forward complex DFT. out must be pre-allocated to in.size(). | |
| void | num::spectral::ifft (const CVector &in, CVector &out, FFTBackend b=default_fft_backend) |
| Inverse complex DFT (unnormalised: result = n * true_inverse). | |
| void | num::spectral::rfft (const Vector &in, CVector &out, FFTBackend b=default_fft_backend) |
| Real-to-complex forward DFT. out must be pre-allocated to n/2+1. | |
| void | num::spectral::irfft (const CVector &in, int n, Vector &out, FFTBackend b=default_fft_backend) |
| Complex-to-real inverse DFT (unnormalised). | |