Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6743 Discussions

Changing the sign of complex exponential in DftiComputeForward()



I am currently working with FFT tools of MKL 10.3.12, specifically Dfti and Fortran interface. In my Forward transform, complex exponentials have positive sign as opposed to the default negative sign. Although I saw in this article: "" that changing sign is provided in mkl_Dfti, I couldn't find any relevant parameter for that. After checking the original file "mkl_dfti.f90", I noticed that DFTI_FORWARD_SIGN is not implemented yet. So my question is if the newer versions have this facility and if not what is your proposed solution to take advantage of using Dfti (like using complex conjugate even storage) while having positive sign in forward transform.

Many thanks in advance

0 Kudos
1 Reply

Hi Amir,

Unfortunately we still did not implement an ability to modify exponentials sign for forward and backward transforms.

Some obvious workarounds are: 1) if you are computing complex-to-complex FFT then changing the sign is equivalent to calling DftiComputeBackward instead of DftiComputeForward and vice a verse. 2) if you are computing real-to-complex FFT then changing the sign is equivalent to complex conjugation of the complex-valued output.