Function matrix_forward_complex_fft (o2scl)

O2scl : Function List

void o2scl::matrix_forward_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 forward 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 \).