num::spectral::fft_plan¶
Defined in header <spectral/fft.hpp>
class fft_plan;
Transform of fixed length, prepared once and applied many times.
Members¶
| member | description |
|---|---|
explicit fft_plan(int n, bool forward = true, fft_backend b = default_fft_backend) |
Prepare an \(n\)-point forward or inverse transform. |
fft_plan(fft_plan &&) noexcept |
|
fft_plan &operator=(fft_plan &&) noexcept |
|
void execute(const vec<cplx> &in, vec<cplx> &out) const |
Apply the transform: \(X \leftarrow \mathcal{F} x\), both of length \(n\). |
int size() const |
|
fft_backend backend() const |