1#ifndef STAN_MATH_FWD_FUN_GAMMA_P_HPP
2#define STAN_MATH_FWD_FUN_GAMMA_P_HPP
static constexpr double NOT_A_NUMBER
(Quiet) not-a-number value.
fvar< T > log(const fvar< T > &x)
fvar< T > lgamma(const fvar< T > &x)
Return the natural logarithm of the gamma function applied to the specified argument.
fvar< T > gamma_p(const fvar< T > &x1, const fvar< T > &x2)
int is_inf(const fvar< T > &x)
Returns 1 if the input's value is infinite and 0 otherwise.
return_type_t< T1, T2 > grad_reg_lower_inc_gamma(const T1 &a, const T2 &z, double precision=1e-10, int max_steps=1e5)
Computes the gradient of the lower regularized incomplete gamma function.
fvar< T > exp(const fvar< T > &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...