Automatic Differentiation
 
Loading...
Searching...
No Matches
digamma.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/boost_policy.hpp>
#include <stan/math/prim/functor/apply_scalar_unary.hpp>
#include <boost/math/special_functions/digamma.hpp>

Go to the source code of this file.

Classes

struct  stan::math::digamma_fun
 Structure to wrap digamma() so it can be vectorized. More...
 

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

double stan::math::digamma (double x)
 Return the derivative of the log gamma function at the specified value.
 
template<typename T , require_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_not_var_matrix_t< T > * = nullptr>
auto stan::math::digamma (const T &x)
 Vectorized version of digamma().