inverse¶
Synopsis:
template<Channel_t CH>
triqs_tprf::g2_iw_t inverse (triqs_tprf::g2_iw_cvt g)
Two-particle response-function inversion $[g]^{-1}$.
Note
Assign to gf (g2_iw_t) yields move operation while assigning to gf_view (g2_iw_vt) causes extra copy operation
Template parameters¶
- CH: selects the two-particle channel
Parameters¶
- g: two-particle response function to invert, \(g \equiv g_{abcd}(\omega, \nu, \nu')\)
Return value¶
\([g]^{-1}\) in the given channel
Documentation¶
The two-particle response function \(g_{abcd}(\omega, \nu, \nu')\) is cast to matrix form and inverted
(1)¶\[[g]^{-1} = [ g_{\{\nu\alpha\beta\}, \{\nu'\gamma\delta\}}(\omega) ]^{-1}\]where the mapping of target-space indices \(\{a, b, c, d \}\) to \(\{\alpha, \beta\}, \{\gamma, \delta\}\) is channel dependent.
Storage is allocated and the inverse is returned by value.