delicatessen.utilities.digamma
- digamma(z)
Digamma function. This is a wrapper function of
scipy.special.digammameant to enable automatic differentation withdelicatessen. When the input is aPrimalTangentPairsobject, then an internal function that implements the digamma function is called. Otherwise,scipy.special.digammais called for the input object.- Parameters
x (int, float, ndarray) – Real valued input
- Returns
Return type depends on the input type (
PrimalTangentPairswill returnPrimalTangentPairs, otherwise willreturn
ndarray).