1 #ifndef STAN_MATH_REV_SCAL_FUN_TGAMMA_HPP
2 #define STAN_MATH_REV_SCAL_FUN_TGAMMA_HPP
4 #include <boost/math/special_functions/digamma.hpp>
11 class tgamma_vari :
public op_v_vari {
13 explicit tgamma_vari(vari* avi) :
14 op_v_vari(boost::math::
tgamma(avi->val_), avi) {
66 return var(
new tgamma_vari(a.
vi_));
Independent (input) and dependent (output) variables for gradients.
vari * vi_
Pointer to the implementation of this variable.
fvar< T > tgamma(const fvar< T > &x)
fvar< T > digamma(const fvar< T > &x)