Theory of cyclotron resonance lineshape for electron-phonon systems in two coupling schemes