\[\sum_{n=-\infty}^{\infty}{\mathrm{e}}^{-(n+x)^{2}\omega}={\sqrt{\frac{\pi}{%
\omega}}\*\left(1+2\sum_{n=1}^{\infty}{\mathrm{e}}^{-n^{2}{\pi}^{2}/\omega}%
\cos\left(2n\pi x\right)\right)},\]