Text this: Large deviations for endomorphisms of torus