Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6956 Discussions

Can't get 2d dft code example to work?

david_heim
Beginner
1,062 Views
I'm trying to get the code example for the 2d DFT on page C-53 of the MKL reference manual to work. I'm able to get the complex-to-complex code to work but the real-to-complex conjugate even code does not.

For the input data I set all elements of the matrix Y_2D=1, so the output should have all zeros except for the zero frequency entry. Instead, the zero freq value is incorrect and I get non-zeros nearly everywhere else. Has any one else done 2d real-to-complex conjugate even transforms successfully?

Thanks for help,
Dave
0 Kudos
1 Reply
phani
Beginner
1,062 Views

Are you doing forward or backward transformation. Check with the CCE format

0 Kudos
Reply