Function matrix_backward_complex_fft (o2scl)

O2scl : Function List

void o2scl::matrix_backward_complex_fft(size_t m, size_t n, const std::vector<std::complex<double>> &data, std::vector<std::complex<double>> &fft)

A one-dimensional FFTW wrapper for a backward FFT of complex data.

This function does not require any copying of the input or output arrays. The input matrix must be stored as a vector in row-major order. The FFTW_ESTIMATE flag is used and so little or no optimization of the FFTW algorithm is done. Given an input implying a matrix with size1() equal to m and and size2() equal to n, the output vector is resized to have size \( m*n \).

Note

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