Function vector_backward_fft (o2scl)

O2scl : Function List

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 \) .

Note

This function calls the error handler if was not compiled with FFTW support.