<?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 implementing fftw3 plan for complex numbers in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/implementing-fftw3-plan-for-complex-numbers/m-p/771388#M630</link>
    <description>Hi ian, &lt;BR /&gt;&lt;BR /&gt;Could you please provide a test case to show the problem? &lt;BR /&gt;&lt;BR /&gt;we can't reproduce the problem with MSVC2010, win32 console application.i modify thefile to CPP file as complex&lt;DOUBLE&gt; isfrom C++. and do exact as yourassignments. The below the related code, Attached is the wholecpp file. &lt;BR /&gt;&lt;BR /&gt;int N=131072;&lt;BR /&gt;&lt;BR /&gt;/* Initialize array x&lt;N&gt; with harmonic H */&lt;BR /&gt;static void init(fftw_complex *x, int N, int H)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;std::complex&lt;DOUBLE&gt; *yy;&lt;BR /&gt;yy= new std::complex&lt;DOUBLE&gt;&lt;N&gt;; &lt;/N&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;&lt;/P&gt;&lt;P&gt; for (n = 0; n &amp;lt; N; n++)&lt;BR /&gt; {&lt;BR /&gt;std::complex&lt;DOUBLE&gt; tmp(0.1*n, 0.5*n);&lt;BR /&gt; yy&lt;N&gt;=tmp;&lt;/N&gt;&lt;/DOUBLE&gt;&lt;/P&gt;&lt;P&gt; x&lt;N&gt;[0] = yy&lt;N&gt;.real(); &lt;BR /&gt; x&lt;N&gt;[1] = yy&lt;N&gt;.imag();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying &lt;/N&gt;&lt;/N&gt;&lt;/N&gt;&lt;/N&gt;&lt;/P&gt;&lt;/N&gt;&lt;/DOUBLE&gt;</description>
    <pubDate>Wed, 06 Jun 2012 03:19:49 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2012-06-06T03:19:49Z</dc:date>
    <item>
      <title>implementing fftw3 plan for complex numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/implementing-fftw3-plan-for-complex-numbers/m-p/771387#M629</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm using the dp_plan_dft_1d.c type implementation from the MKL fftw3xc examples directory.&lt;BR /&gt;&lt;BR /&gt;However, I'm having trouble assigning a value to the fft inputs. Below is the code extract and the debug info from vs2010. &lt;/P&gt;&lt;P&gt;in_y&lt;K&gt;[0] = yy&lt;K&gt;.real(); &lt;/K&gt;&lt;/K&gt;&lt;/P&gt;&lt;P&gt;in_y&lt;K&gt;[1] = yy&lt;K&gt;.imag();&lt;/K&gt;&lt;/K&gt;&lt;/P&gt;&lt;BR /&gt;I get&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;- in_y 0x0000000000000000 double [2]*&lt;/P&gt;&lt;P&gt;[0] CXX0030: Error: expression cannot be evaluated &lt;/P&gt;&lt;P&gt;[1] CXX0030: Error: expression cannot be evaluated &lt;/P&gt;&lt;P&gt;- yy [131072](0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,-0.00000000000000000,...,...) std::vector&lt;:COMPLEX&gt;&lt;DOUBLE&gt;,std::allocator&lt;:COMPLEX&gt;&lt;DOUBLE&gt; &amp;gt; &amp;gt;&lt;/DOUBLE&gt;&lt;/:COMPLEX&gt;&lt;/DOUBLE&gt;&lt;/:COMPLEX&gt;&lt;/P&gt;&lt;P&gt;[size] 131072 long&lt;/P&gt;&lt;P&gt;[capacity] 131072 long&lt;/P&gt;&lt;P&gt;+ [0] 0.00000000000000000 std::complex&lt;DOUBLE&gt;&lt;/DOUBLE&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;Can someone please advise where i am going wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 17 Apr 2012 12:08:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/implementing-fftw3-plan-for-complex-numbers/m-p/771387#M629</guid>
      <dc:creator>ian_bellinfantie</dc:creator>
      <dc:date>2012-04-17T12:08:18Z</dc:date>
    </item>
    <item>
      <title>implementing fftw3 plan for complex numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/implementing-fftw3-plan-for-complex-numbers/m-p/771388#M630</link>
      <description>Hi ian, &lt;BR /&gt;&lt;BR /&gt;Could you please provide a test case to show the problem? &lt;BR /&gt;&lt;BR /&gt;we can't reproduce the problem with MSVC2010, win32 console application.i modify thefile to CPP file as complex&lt;DOUBLE&gt; isfrom C++. and do exact as yourassignments. The below the related code, Attached is the wholecpp file. &lt;BR /&gt;&lt;BR /&gt;int N=131072;&lt;BR /&gt;&lt;BR /&gt;/* Initialize array x&lt;N&gt; with harmonic H */&lt;BR /&gt;static void init(fftw_complex *x, int N, int H)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;std::complex&lt;DOUBLE&gt; *yy;&lt;BR /&gt;yy= new std::complex&lt;DOUBLE&gt;&lt;N&gt;; &lt;/N&gt;&lt;/DOUBLE&gt;&lt;/DOUBLE&gt;&lt;/P&gt;&lt;P&gt; for (n = 0; n &amp;lt; N; n++)&lt;BR /&gt; {&lt;BR /&gt;std::complex&lt;DOUBLE&gt; tmp(0.1*n, 0.5*n);&lt;BR /&gt; yy&lt;N&gt;=tmp;&lt;/N&gt;&lt;/DOUBLE&gt;&lt;/P&gt;&lt;P&gt; x&lt;N&gt;[0] = yy&lt;N&gt;.real(); &lt;BR /&gt; x&lt;N&gt;[1] = yy&lt;N&gt;.imag();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying &lt;/N&gt;&lt;/N&gt;&lt;/N&gt;&lt;/N&gt;&lt;/P&gt;&lt;/N&gt;&lt;/DOUBLE&gt;</description>
      <pubDate>Wed, 06 Jun 2012 03:19:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/implementing-fftw3-plan-for-complex-numbers/m-p/771388#M630</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-06-06T03:19:49Z</dc:date>
    </item>
  </channel>
</rss>

