I am trying to perform a of convolution 2 3-dimensional vectors using the FFTW3 library in C.
My question relates to the order in which the frequency domain appears and if it will make a difference to the final result.
In the FFTW documentation it dictates that in 1D complex FFT's the negative frequencies are in the second half of the array. Does this follow through with a 3D complex FFT as the documentation doesn't say? If this is the case how would it be stored? i.e in 1D it would be something like:
|+|+|+|+|-|-|-|-|
so what would it be in 3D (sorry, terrible as visualising these things).
Finally when convolving 2 3D vectors using the convolution theorem do I need to do anything because of the FFTW layout, or can I just do the pointwise product and then IFFT back?