Generalized Floquet Theory: Application to Dynamical Systems with Memory and Bloch’s Theorem for Nonlocal Potentials