Function vector_backward_fft_copy (o2scl)¶
-
template<class vec_t, class resize_vec_t>
void o2scl::vector_backward_fft_copy(const vec_t &data, resize_vec_t &fft)¶ A one-dimensional FFTW wrapper for a backward FFT to real data.
This function copies the input and output arrays once to convert them into and from the FFTW format. 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 \) .