<?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 MKL 3D FFT of 1D function (fortran) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-3D-FFT-of-1D-function-fortran/m-p/1029809#M20076</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;I want to perform a 3D Fourier transformation (using fortran) of a complex function which is in a 10^9 array, where each element corresponds to a 3D vector k. So each element of the array is in fact a particle in Fourier space with k vector being its wavenumber.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;In a mathematical notation I want to do:&lt;/P&gt;

&lt;P&gt;F(x)=3D integral(f(k vector)*exp(i*k*x))dx&lt;/P&gt;

&lt;P&gt;F(x) is a real function and x is a real 3D vector&lt;/P&gt;

&lt;P&gt;f(k) is a complex function of vector k&lt;/P&gt;

&lt;P&gt;k*x is the dot product of the two 3D vectors&lt;/P&gt;

&lt;P&gt;What is the dimension of the transformation I should put in DFTI_DIMENSION one or three. Examples I have seen for the 3D case the f(k) input function has to be a 3D matrix (while mine is 1D) and what it does is the FFT of each dimension in the matrix. Is there a way to specify the k vectors in the transformation?&amp;nbsp; &lt;CODE&gt;What configurations I have to do to get a real function from a complex one?&lt;/CODE&gt; Something like this would do the trick:&lt;/P&gt;

&lt;PRE&gt;status = DftiCreateDescriptor(hand, &lt;VAR class="varname"&gt;&amp;lt;precision&amp;gt;&lt;/VAR&gt;, DFTI_REAL, &lt;VAR class="varname"&gt;&amp;lt;dimension&amp;gt;&lt;/VAR&gt;, &lt;VAR class="varname"&gt;&amp;lt;sizes&amp;gt;&lt;/VAR&gt;)
status = DftiSetValue(hand, DFTI_CONJUGATE_EVEN_STORAGE, DFTI_COMPLEX_COMPLEX)&lt;/PRE&gt;</description>
    <pubDate>Sun, 07 Jun 2015 15:22:33 GMT</pubDate>
    <dc:creator>karagiannis__dionysi</dc:creator>
    <dc:date>2015-06-07T15:22:33Z</dc:date>
    <item>
      <title>MKL 3D FFT of 1D function (fortran)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-3D-FFT-of-1D-function-fortran/m-p/1029809#M20076</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;I want to perform a 3D Fourier transformation (using fortran) of a complex function which is in a 10^9 array, where each element corresponds to a 3D vector k. So each element of the array is in fact a particle in Fourier space with k vector being its wavenumber.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;In a mathematical notation I want to do:&lt;/P&gt;

&lt;P&gt;F(x)=3D integral(f(k vector)*exp(i*k*x))dx&lt;/P&gt;

&lt;P&gt;F(x) is a real function and x is a real 3D vector&lt;/P&gt;

&lt;P&gt;f(k) is a complex function of vector k&lt;/P&gt;

&lt;P&gt;k*x is the dot product of the two 3D vectors&lt;/P&gt;

&lt;P&gt;What is the dimension of the transformation I should put in DFTI_DIMENSION one or three. Examples I have seen for the 3D case the f(k) input function has to be a 3D matrix (while mine is 1D) and what it does is the FFT of each dimension in the matrix. Is there a way to specify the k vectors in the transformation?&amp;nbsp; &lt;CODE&gt;What configurations I have to do to get a real function from a complex one?&lt;/CODE&gt; Something like this would do the trick:&lt;/P&gt;

&lt;PRE&gt;status = DftiCreateDescriptor(hand, &lt;VAR class="varname"&gt;&amp;lt;precision&amp;gt;&lt;/VAR&gt;, DFTI_REAL, &lt;VAR class="varname"&gt;&amp;lt;dimension&amp;gt;&lt;/VAR&gt;, &lt;VAR class="varname"&gt;&amp;lt;sizes&amp;gt;&lt;/VAR&gt;)
status = DftiSetValue(hand, DFTI_CONJUGATE_EVEN_STORAGE, DFTI_COMPLEX_COMPLEX)&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Jun 2015 15:22:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-3D-FFT-of-1D-function-fortran/m-p/1029809#M20076</guid>
      <dc:creator>karagiannis__dionysi</dc:creator>
      <dc:date>2015-06-07T15:22:33Z</dc:date>
    </item>
  </channel>
</rss>

