gftool.matrix.Decomposition.from_gf

classmethod Decomposition.from_gf(gf) Decomposition[source]

Decompose the inverse Green’s function matrix.

The similarity transformation:

\[G^{-1} = P g P^{-1}, \quad g = diag(λ_l)\]
Parameters:
gf(…, N, N) complex np.ndarray

Matrix to be decomposed.

Returns:
Decomposition