CUDALink`
CUDALink`

CUDAFourier

CUDAFourier[list]

finds the discrete Fourier transform of a list of complex numbers.

CUDAFourier[mem]

finds the discrete Fourier transform of a CUDAMemory.

更多信息和选项更多信息
  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • CUDAFourier works on one-, two-, and three-dimensional lists.
  • 范例

    打开所有单元关闭所有单元

    基本范例  (3)

    First, load the CUDALink application:

    In[1]:=
    Click for copyable input

    This generates a random list of reals:

    In[2]:=
    Click for copyable input

    This computes the one-dimensional Fourier transform using CUDA:

    In[3]:=
    Click for copyable input
    Out[3]=

    The result agrees with the Wolfram Language:

    In[4]:=
    Click for copyable input
    Out[4]=

    CUDAFourier works on two-dimensional datasets. Here, a dataset is generated:

    In[1]:=
    Click for copyable input

    Find the logarithmic power spectrum:

    In[2]:=
    Click for copyable input
    Out[2]=

    CUDAFourier can be used on multidimensional datasets. This gets the data from an image:

    In[1]:=
    Click for copyable input

    This performs the Fourier operation:

    In[2]:=
    Click for copyable input

    This shows the absolute value of the result:

    In[3]:=
    Click for copyable input
    Out[3]=

    Neat Examples  (1)

    参见

    Fourier  CUDAInverseFourier

    教程