If
, then

where the contour of integration separates the poles of
from those of
.
If
, then

where the contour of integration separates the poles of
from those of
.

where the contour of integration passes all the poles of
on the right-hand side.