pub fn cuda_sparse_fft<T>(
signal: &[T],
k: usize,
device_id: i32,
algorithm: Option<SparseFFTAlgorithm>,
window_function: Option<WindowFunction>,
) -> FFTResult<SparseFFTResult>
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 signalk
- Expected sparsity (number of significant frequency components)device_id
- CUDA device ID (-1 for auto-select)algorithm
- Sparse FFT algorithm variantwindow_function
- Window function to apply before FFT
§Returns
- Sparse FFT result containing frequency components, indices, and timing information