Residues of ratios of gamma functions
Case of simple poles
Case of double poles
Case of triple poles
Case of quartic poles