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.

Details

  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • CUDAFourier works on one-, two-, and three-dimensional lists.

Examples

open allclose all

Basic Examples  (3)

First, load the CUDALink application:

This generates a random list of reals:

This computes the one-dimensional Fourier transform using CUDA:

The result agrees with the Wolfram Language:

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

Find the logarithmic power spectrum:

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

This performs the Fourier operation:

This shows the absolute value of the result:

Neat Examples  (1)

Find the Fourier transform of the rule 30 cellular automaton pattern:

Logarithmic power spectrum: