Printing cufftComplex?

I’m trying to print out the real &imaginary values of a cufftComplex data type and having some trouble.

My question is… how do you go about printing the values for a cufftComplex data type and/or how do you convert its respective values to a float(s).

Doing a bit of research I’ve seen cufftComplex as both an array of 2 floats as well as a structure(?) where i.e. myCufftComplex.x or myCufftComplex.y is used but can’t seem to get it to work either way. Any ideas?

Thanks in advance for any help


edit: (sorry, i think i just realized i posted this in the wrong forum section)