I require the following $${\rm Tr}({\bf H} + \omega{\bf I})^{-1}$$ where $\bf H$ is Hermitian, $\omega$ is a complex number with a small imaginary component $(\Im \omega \approx 1\times 10^{-5})$ and $\bf I$ is the unit matrix. $\rm Tr$ indicates a trace is required
Unfortunately these matrices are $45\times 45$ and are to be numerically integrated ($\bf H$ is a function of two variables) thus I was wondering if there was a cheaper way to obtain the trace, i.e. without needing to do a full inversion.