CUDAFourier
This feature is not supported on the Wolfram Cloud.

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`"].
  • works on one-, two-, and three-dimensional lists.

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

基本范例  (3)基本范例  (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]=

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]=

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]=