Function vector_forward_complex_fft (o2scl)¶
-
void o2scl::vector_forward_complex_fft(const std::vector<std::complex<double>> &data, std::vector<std::complex<double>> &fft)¶
A one-dimensional FFTW wrapper for a forward FFT of complex data.
The output array,
fft
, is resized before the FFT is performed, so that it has the same size as the input vector. The FFTW_ESTIMATE flag is used and so little or no optimization of the FFTW algorithm is performed.