code: def _fft_multiply_repeated(x, cuda_dict):
      """Do FFT multiplication by a filter function (possibly using CUDA).
  
      Parameters
      ----------
      h_fft : 1-d array or gpuarray
          The filtering array to apply.
      x : 1-d array
          The array to filter.
      n_fft : int
          The number of points in the FFT.
      cuda_dict : dict
          Dictionary constructed using setup_cuda_multiply_repeated().
  
      Returns
      -------
      x : 1-d array
          Filtered version of x.
      """
      # do the fourier-domain operations
      x_fft = cuda_dict["rfft"](x, cuda_dict["n_fft"])
      x_fft *= cuda_dict["h_fft"]
      x = cuda_dict["irfft"](x_fft, cuda_dict["n_fft"])
      return x
  
file_path: mne-python/mne/cuda.py
imports: import numpy
  from scipy.fft import irfft, rfft
  from .utils import _check_option, _explain_exception, fill_doc, get_config, logger, sizeof_fmt, verbose, warn
label_desc: Use image node_id 6 for calling a global function with example usage: _fft_multiply_repeated(x, cuda_dict) and returns: x