Function vector_backward_complex_fft_copy (o2scl)¶
-
template<class cx_vec_t, class cx_resize_vec_t>
void o2scl::vector_backward_complex_fft_copy(const cx_vec_t &data, cx_resize_vec_t &fft)¶ A one-dimensional FFTW wrapper for a forward FFT of complex data.
This function copies the input and output arrays once to convert them into the FFTW format. The FFTW_ESTIMATE flag is used and so little or no optimization of the FFTW algorithm is done. The output vector is resized to have the same size as the input vector.
Note
This function calls the error handler if was not compiled with FFTW support.