cuda_sparse_fft

Function cuda_sparse_fft 

Source
pub fn cuda_sparse_fft<T>(
    signal: &[T],
    k: usize,
    device_id: i32,
    algorithm: Option<SparseFFTAlgorithm>,
    window_function: Option<WindowFunction>,
) -> FFTResult<SparseFFTResult>
where T: NumCast + Copy + Debug + 'static,
Expand description

Perform CUDA-accelerated sparse FFT

This is a convenience function that creates a CUDA sparse FFT processor and performs the computation.

§Arguments

  • signal - Input signal
  • k - Expected sparsity (number of significant frequency components)
  • device_id - CUDA device ID (-1 for auto-select)
  • algorithm - Sparse FFT algorithm variant
  • window_function - Window function to apply before FFT

§Returns

  • Sparse FFT result containing frequency components, indices, and timing information