delicatessen.utilities.digamma

digamma(z)

Digamma function. This is a wrapper function of scipy.special.digamma meant to enable automatic differentation with delicatessen. When the input is a PrimalTangentPairs object, then an internal function that implements the digamma function is called. Otherwise, scipy.special.digamma is called for the input object.

Parameters

x (int, float, ndarray) – Real valued input

Returns

  • Return type depends on the input type (PrimalTangentPairs will return PrimalTangentPairs, otherwise will

  • return ndarray).