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

Go to the source code of this file.

Classes

struct  stan::math::trigamma_fun
 Structure to wrap trigamma() 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

template<typename T >
stan::math::trigamma_impl (const T &x)
 Return the trigamma function applied to the argument.
 
double stan::math::trigamma (double u)
 Return the second derivative of the log Gamma function evaluated at the specified argument.
 
double stan::math::trigamma (int u)
 Return the second derivative of the log Gamma function evaluated at the specified argument.
 
template<typename T , require_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr>
auto stan::math::trigamma (const T &x)
 Return the elementwise application of trigamma() to specified argument container.