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

◆ trigamma_impl()

template<typename T >
T stan::math::trigamma_impl ( const T &  x)
inline

Return the trigamma function applied to the argument.

The trigamma function returns the second derivative of the log Gamma function evaluated at the specified argument. This base templated version is used in prim, fwd, and rev implementations.

Template Parameters
Tscalar argument type
Parameters
xargument
Returns
second derivative of log Gamma function at argument

Definition at line 37 of file trigamma.hpp.