PolyGamma(n, z)

n

n can be any integer >= -1
When n==-1 the LnGamma(z) function is returned.
When n==0 the DiGamma(z) or Psi(z) function is returned.
When n>0 the (n+1) derivative of the Logarithm of the Gamma(z) function is returned.