Automatic Differentiation
 
Loading...
Searching...
No Matches
digamma.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

var stan::math::digamma (const var &a)
 Return the derivative of the log gamma function at the specified value.
 
template<typename T , require_var_matrix_t< T > * = nullptr>
auto stan::math::digamma (const T &a)
 Return the elementwise derivative of the log gamma function at the given input vector.