Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ log_q_gamma_cf()

template<typename T_a , typename T_z >
return_type_t< T_a, T_z > stan::math::internal::log_q_gamma_cf ( const T_a &  a,
const T_z &  z,
double  precision = LOG_Q_GAMMA_CF_PRECISION,
int  max_steps = 250 
)
inline

Compute log(Q(a,z)) using continued fraction expansion for upper incomplete gamma function.

Template Parameters
T_aType of shape parameter a (double or fvar types)
T_zType of value parameter z (double or fvar types)
Parameters
aShape parameter
zValue at which to evaluate
precisionConvergence threshold, default of sqrt(machine_epsilon)
max_stepsMaximum number of continued fraction iterations
Returns
log(Q(a,z)) with the return type of T_a and T_z

Definition at line 41 of file log_gamma_q_dgamma.hpp.