<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Thanks! Really appreciate in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001109#M18568</link>
    <description>&lt;P&gt;Thanks! Really appreciate your help!&lt;/P&gt;</description>
    <pubDate>Sat, 26 Apr 2014 05:25:35 GMT</pubDate>
    <dc:creator>Bo_Q_</dc:creator>
    <dc:date>2014-04-26T05:25:35Z</dc:date>
    <item>
      <title>FFT forward and backward test</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001107#M18566</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am testing the FFT routines in MKL library. Following the example code, I was able to do 1D forward FFT for an array input supplied by a text file. Then a backward FFT is performed and the result is saved in another text file.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Theoretically, the output of the backward FFT should be the same as the input array. But what I get is not. The real part is scaled by n (number of points) and the imaginary part is pure zero.&lt;/P&gt;

&lt;P&gt;The attached files are the code, input file and output file. Please help me through. Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Bo&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 15:01:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001107#M18566</guid>
      <dc:creator>Bo_Q_</dc:creator>
      <dc:date>2014-04-24T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001108#M18567</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;At first, I want to say about scaling. If you perform Forward and then Backward DFT you will get source array scaled by N, where N is the size of the array. It is just a property of DFT. If you want to perform unitary DFT, I should set DFTI_FORWARD_SCALE and DFTI_BACKWARD_SCALE to 1/sqrt(N) using DftiSetValue. Another way to obtain source array without scaling is to set DFTI_BACKWARD_SCALE to 1/N, and that is it.&lt;/P&gt;

&lt;P&gt;I tried to run your code and got the problem with reading the input array: the program reads real part, but doesn't read imaginary part (looks like the problem is in format reading and commas). If I either remove commas from INPUT.txt or replace [fortran] READ(10,'(E10.3, E10.3)') DR(I), DI(I) [/fortran] with [fortran] READ(10,*) DR(I), DI(I) [/fortran] everything goes fine&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2014 03:04:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001108#M18567</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2014-04-25T03:04:32Z</dc:date>
    </item>
    <item>
      <title>Thanks! Really appreciate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001109#M18568</link>
      <description>&lt;P&gt;Thanks! Really appreciate your help!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Apr 2014 05:25:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001109#M18568</guid>
      <dc:creator>Bo_Q_</dc:creator>
      <dc:date>2014-04-26T05:25:35Z</dc:date>
    </item>
    <item>
      <title>You are welcome!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001110#M18569</link>
      <description>&lt;P&gt;You are welcome!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Apr 2014 07:35:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFT-forward-and-backward-test/m-p/1001110#M18569</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2014-04-26T07:35:23Z</dc:date>
    </item>
  </channel>
</rss>

