LU Decomposition find the LU decomposition of a matrix use this LU decomopsition to find it's inverse calculate the effective hamiltonian using this inverse