- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The following scenario:
Input: a signal stored as vector.
Required output: range vector and phase vector.
How do I set this kind of output (to two different arrays)? I only saw people output to MKL_Complex16 a.k.a std::complex<double> and the documentation was a bit beyond me.
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting on Intel Communities. Please refer the below link which illustrates the use of DFTI_COMPLEX_COMPLEX and DFTI_REAL_REAL if this could help you.
Best Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the reply, Shanmukh. I have looked through that documentation.
Here's my descriptor:
status = DftiCreateDescriptor(&descriptor, DFTI_SINGLE, DFTI_REAL, 1, 1024); //Specify size and precision
status = DftiSetValue(descriptor, DFTI_PLACEMENT, DFTI_NOT_INPLACE);
status = DftiCommitDescriptor(descriptor);
So the input is a double array.
With DFTI_REAL_REAL, I only found an example of inplace DFT. Does that mean that if I want an out-of-place DFT, and I have REAL input, I can specify two double arrays for output? Because that's what I'm trying to do.
I appreciate your input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are working on your issue description. We will get back to you soon with an update.
Best Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I will provide you with feedback on your issue soon.
Best regards,
Khang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
oneMKL FFT does not support complex results as amplitude-phase directly.
As for splitting the output, you can use the parameter DFTI_CONJUGATE_EVEN_STORAGE.
Please look at examples config_srtorage.c and basic_sp_real_dft_1d.c that come with the mkl package for reference.
However, the value DFTI_CONJUGATE_EVEN_STORAGE=DFTI_COMPLEX_REAL is deprecated. So, we don't recommend using this option.
I don't have other option to recommend to you.
You can request the mkl team to provide this feature in ututre version of oneMKL.
Bets regards.
Khang
Best regards,
Khang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Since the answer has been provided, there will be no more communication on this thread.
Should you have any new issues or questions, please do not hesitate to create new threads.
Best regards,
Khang

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page