How can I find the the following integral:
$$\mathcal{I}\left(\text{k},\text{z}\right)=\int_\mathbb{R}\exp\left[\frac{\pi\left(2x\text{z}-\text{k}\right)^2i}{2\text{z}}\right]\space\text{d}x=\int_{-\infty}^\infty\exp\left[\frac{\pi\left(2x\text{z}-\text{k}\right)^2i}{2\text{z}}\right]\space\text{d}x$$
Where $\text{k}$ is an integer number and $\text{z}$ is a complex number.
For the undefinte integral we can write using the substitution $\text{u}=2x\text{z}-\text{k}$:
$$\int\exp\left[\frac{\pi\left(2x\text{z}-\text{k}\right)^2i}{2\text{z}}\right]\space\text{d}x=\frac{1}{2\text{z}}\int\exp\left[\frac{\pi\text{u}^2i}{2\text{z}}\right]\space\text{d}\text{u}$$
Looking back at the definite integral the boundaries will become realy 'weird' after the use of the substitution. When I look at the lower bound it will something be, like this:
$$\text{u}=2\left(-\infty\right)\text{z}-\text{k}$$
So, how can I compute $\mathcal{I}\left(\text{k},\text{z}\right)$?