Generalized analyticity on the $N$-torus