gpu_sparse_fft

Function gpu_sparse_fft 

Source
pub fn gpu_sparse_fft<T>(
    signal: &[T],
    k: usize,
    backend: GPUBackend,
    algorithm: Option<SparseFFTAlgorithm>,
    window_function: Option<WindowFunction>,
) -> FFTResult<SparseFFTResult>
where T: NumCast + Copy + Debug + 'static,
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 signal
  • k - Expected sparsity (number of significant frequency components)
  • backend - GPU backend to use
  • algorithm - Sparse FFT algorithm variant
  • window_function - Window function to apply before FFT

§Returns

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