pub fn gpu_sparse_fft<T>(
signal: &[T],
k: usize,
backend: GPUBackend,
algorithm: Option<SparseFFTAlgorithm>,
window_function: Option<WindowFunction>,
) -> FFTResult<SparseFFTResult>
Expand description
Performs GPU-accelerated sparse FFT on a signal
This is a convenience function that creates a GPU sparse FFT processor with the specified backend and performs the computation.
§Arguments
signal
- Input signalk
- Expected sparsity (number of significant frequency components)backend
- GPU backend to usealgorithm
- Sparse FFT algorithm variantwindow_function
- Window function to apply before FFT
§Returns
- Sparse FFT result containing frequency components, indices, and timing information