1 #ifndef STAN_MATH_REV_SCAL_FUN_GAMMA_Q_HPP 2 #define STAN_MATH_REV_SCAL_FUN_GAMMA_Q_HPP 10 #include <boost/math/special_functions/gamma.hpp>
gamma_q_dv_vari(double a, vari *bvi)
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
The variable implementation base class.
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
Independent (input) and dependent (output) variables for gradients.
const double val_
The value of this variable.
return_type< T1, T2 >::type grad_reg_inc_gamma(T1 a, T2 z, T1 g, T1 dig, double precision=1e-6, int max_steps=1e5)
Gradient of the regularized incomplete gamma functions igamma(a, z)
vari * vi_
Pointer to the implementation of this variable.
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
gamma_q_vd_vari(vari *avi, double b)
double adj_
The adjoint of this variable, which is the partial derivative of this variable with respect to the ro...
fvar< T > tgamma(const fvar< T > &x)
Return the result of applying the gamma function to the specified argument.
gamma_q_vv_vari(vari *avi, vari *bvi)
fvar< T > gamma_q(const fvar< T > &x1, const fvar< T > &x2)
fvar< T > digamma(const fvar< T > &x)
Return the derivative of the log gamma function at the specified argument.