Finite and infinite QBD chains: a simple and unifying algorithmic approach · Study