Function vector_backward_fft (o2scl)¶
-
void o2scl::vector_backward_fft(const std::vector<std::complex<double>> &data, std::vector<double> &fft)¶
A one-dimensional FFTW wrapper for a backward FFT to real data.
This function does not require any copying of the input or output arrays. The FFTW_ESTIMATE flag is used and so little or no optimization of the FFTW algorithm is performed. Given an input vector of size n, the output vector is resized to have size \( (n-1)*2 \) .