<?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 Hi Ying, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Performing-DFTI-along-a-single-axis-of-2D-array/m-p/1060032#M21621</link>
    <description>&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;Thanks very much for you help. This solved my question exactly.&lt;/P&gt;

&lt;P&gt;Thanks again,&lt;/P&gt;

&lt;P&gt;Dylan&lt;/P&gt;</description>
    <pubDate>Fri, 28 Aug 2015 02:13:26 GMT</pubDate>
    <dc:creator>Dylan_B_</dc:creator>
    <dc:date>2015-08-28T02:13:26Z</dc:date>
    <item>
      <title>Performing DFTI  along a single axis of 2D array</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Performing-DFTI-along-a-single-axis-of-2D-array/m-p/1060030#M21619</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I have a 2D array where the axes are positions (x, y). I wish to perform a Fourier transform along the x axis alone resulting in an array (Kx, y), where Kx is momentum, the Fourier transform of x.&lt;/P&gt;

&lt;P&gt;In python this is a simple command as you can pass which axis to perform the transform along as an argument to the FFT function.&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Is there a way to do this with the MKL library?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks very much,&lt;BR /&gt;
	Dylan&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2015 01:12:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Performing-DFTI-along-a-single-axis-of-2D-array/m-p/1060030#M21619</guid>
      <dc:creator>Dylan_B_</dc:creator>
      <dc:date>2015-08-25T01:12:53Z</dc:date>
    </item>
    <item>
      <title>Hi Dylan, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Performing-DFTI-along-a-single-axis-of-2D-array/m-p/1060031#M21620</link>
      <description>&lt;P&gt;Hi Dylan,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Do you write C or fortran code? &amp;nbsp;Yes, you can use MKL function to do this operation.. If you have c or fortran develop environment, &amp;nbsp;In MKL install directory/example directory or MKL user manual, you will find some sample code of C and Fortran code about 1D &amp;nbsp;MKL FFT. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;float y[34];&lt;BR /&gt;
	DFTI_DESCRIPTOR_HANDLE my_desc1_handle;&lt;BR /&gt;
	DFTI_DESCRIPTOR_HANDLE my_desc2_handle;&lt;BR /&gt;
	MKL_LONG status;&lt;BR /&gt;
	//...put input data into x[0],...,x[31]; y[0],...,y[31]&lt;BR /&gt;
	status = DftiCreateDescriptor( &amp;amp;my_desc1_handle, DFTI_SINGLE,&lt;BR /&gt;
	DFTI_COMPLEX, 1, 32);&lt;BR /&gt;
	status = DftiCommitDescriptor( my_desc1_handle );&lt;BR /&gt;
	status = DftiComputeForward( my_desc1_handle, x);&lt;BR /&gt;
	status = DftiFreeDescriptor(&amp;amp;my_desc1_handle);&lt;BR /&gt;
	/* result is x[0], ..., x[31]*/&lt;BR /&gt;
	status = DftiCreateDescriptor( &amp;amp;my_desc2_handle, DFTI_SINGLE,&lt;BR /&gt;
	DFTI_REAL, 1, 32);&lt;BR /&gt;
	status = DftiCommitDescriptor( my_desc2_handle);&lt;BR /&gt;
	status = DftiComputeForward( my_desc2_handle, y);&lt;BR /&gt;
	status = DftiFreeDescriptor(&amp;amp;my_desc2_handle)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Once you can run them, i believe you can figure out how to handle your case. for example,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;if your input data is not continuous (like c row-major stored), &amp;nbsp;You may define &amp;nbsp;DFTI_INPUT_STRIDES. &amp;nbsp;and &amp;nbsp;for (i=0;i&amp;lt;column;i++);&amp;nbsp;status = DftiComputeForward( my_desc2_handle, &amp;amp;y[0]&lt;I&gt;);&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Or anther way, &amp;nbsp;If you are working in Python. you may follow up the article:&amp;nbsp;https://software.intel.com/en-us/articles/using-intel-mkl-in-your-python-programs, then add MKL FFT call in the code.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
	Ying&lt;/P&gt;

&lt;P&gt;Intel MKL Support&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2015 07:54:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Performing-DFTI-along-a-single-axis-of-2D-array/m-p/1060031#M21620</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-08-25T07:54:34Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Performing-DFTI-along-a-single-axis-of-2D-array/m-p/1060032#M21621</link>
      <description>&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;Thanks very much for you help. This solved my question exactly.&lt;/P&gt;

&lt;P&gt;Thanks again,&lt;/P&gt;

&lt;P&gt;Dylan&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 02:13:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Performing-DFTI-along-a-single-axis-of-2D-array/m-p/1060032#M21621</guid>
      <dc:creator>Dylan_B_</dc:creator>
      <dc:date>2015-08-28T02:13:26Z</dc:date>
    </item>
  </channel>
</rss>

