Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ digamma()

double stan::math::opencl_kernels::digamma ( double  x)

Calculates the digamma function - derivative of logarithm of gamma.

This implementation is based on one from boost 1.69.0: https://www.boost.org/doc/libs/1_69_0/boost/math/special_functions/digamma.hpp.

Parameters
xpoint at which to calculate digamma
Returns
digamma(x)

Definition at line 25 of file digamma.hpp.