cufft: Perform a 1D FFT using CUFFT

View source: R/RcppExports.R

cufftR Documentation

Perform a 1D FFT using CUFFT

Description

This function uses CUDA's CUFFT library to compute the 1D FFT on a given set of data.

Arguments

n

Integer. The number of elements in the FFT.

inverse

Logical. Whether to compute the inverse FFT (TRUE) or forward FFT (FALSE).

h_idata_re

Numeric vector. The real part of the input data.

h_idata_im

Numeric vector. The imaginary part of the input data.

h_odata_re

Numeric vector. The real part of the output data.

h_odata_im

Numeric vector. The imaginary part of the output data.

Value

A list with the real and imaginary parts of the transformed data.


wagnius-GmbH/slvwagner documentation built on Jan. 19, 2025, 7:10 a.m.