
Heinzel G. et al., âSpectrum and spectral density estimation by the Discrete Fourier transform (DFT),
        including a comprehensive list of window functions and some new flat-top windowsâ,
        February 15, 2002 https://holometer.fnal.gov/GH_FFT.pdf

Examples:
  >>> # Generates a symmetric Nutall window.
  >>> torch.signal.windows.general_hamming(5, sym=True)
  tensor([3.6280e-04, 2.2698e-01, 1.0000e+00, 2.2698e-01, 3.6280e-04])

  >>> # Generates a periodic Nuttall window.
  >>> torch.signal.windows.general_hamming(5, sym=False)
  tensor([3.6280e-04, 1.1052e-01, 7.9826e-01, 7.9826e-01, 1.1052e-01])
