How can I get the full fft coefficients by cufft?

I am doing two dimensional fft process by cufft. Processing type is real to complex, so the size of out array is NX * (NY / 2 + 1) which is non redundant. But I need the full coefficients containing the redundant ones. How can i get them all? Thanks in advance.

The easiest solution is probably to use a complex to complex transform, i.e. representing the input array as complex numbers with imaginary part = 0. Then you get the full complex output.

If you want to keep to the real to complex transform you can use the hermitian symmetry
Y[NX-x,NY-y] = Y[x,y]* to access “unavailable” elements.

oh, very thanks hadschi118. very clear answer.