Argument.
Order of the derivative, an integer from 0 to 100 (rounded half to even; default 0, digamma).
Optionaloptions: RCompatibleOptions
rCompatible (default true).
psi^(deriv)(x). At zero and the negative integers, Infinity for odd deriv and NaN for even.
NaN if deriv is outside 0 to 100.
Polygamma function, the derivative of order
derivofdigamma. Equivalent to R'spsigamma(). Takes a single number.psigamma(-Infinity, deriv)isInfinityfor oddderivas in R, which treats it like the poles (NaNwithrCompatible: false). Unlike R, which returnsNaNforx < 0withderiv >= 6and where the result overflows, the value is computed there.