Logarithmically complex rigorous Fourier space solution to the 1D grating diffraction problem. - Evgeniy Levdik; Alexey A. Shcherbakov (Comput. Phys. Commun., 2025)