Generalized polygamma function