num::spectral::fft_plan¶
Defined in header <spectral/fft.hpp>
class fft_plan;
Precomputed 1D complex FFT execution plan for repeated transforms.
Pre-allocates twiddle factors, trigonometric lookup tables, or FFTW plans to amortize setup costs across multiple transforms of identical length.
Members¶
| member | description |
|---|---|
explicit fft_plan(int n, bool forward = true, fft_backend b = default_fft_backend) |
Precompute an \(n\)-point forward or inverse complex transform plan. |
fft_plan(fft_plan &&) noexcept |
|
fft_plan &operator=(fft_plan &&) noexcept |
|
void execute(const vec<cplx> &in, vec<cplx> &out) const |
Execute planned transform on input buffer. |
int size() const |
|
fft_backend backend() const |