I'm trying to evaluate the integral of a function
$$\frac{\psi_m^T\cdot P\cdot\phi_m\cdot\exp(-\gamma\xi i)}{(\gamma_m-\gamma)\cdot B_m}$$
with respect to $\gamma$, where $\psi_m$ is a $1\times n$ row vector, P is a $n\times n$ matrix, $\phi_m$ is a $1\times n$ row vector and $B_m$ is a constant. This integral comes from the inverse Fourier transform application and, as it can be seen, there are $n$ singularities on the known values $\gamma_m$. Some of these singularities are pure real values, others are pure imaginary and some have the form $a+b*i$.
My question is: I want to calculate the integral using the residue theorem. Should I use all the singularities of the integrand? And if so, how should I manipulate the complex singularities?
Any help would be valuable!
Thanks,
Antigoni

