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

◆ gamma_cdf()

template<typename T_y , typename T_shape , typename T_inv_scale >
return_type_t< T_y, T_shape, T_inv_scale > stan::math::gamma_cdf ( const T_y &  y,
const T_shape &  alpha,
const T_inv_scale &  beta 
)

The cumulative density function for a gamma distribution for y with the specified shape and inverse scale parameters.

Template Parameters
T_ytype of scalar
T_shapetype of shape
T_inv_scaletype of inverse scale
Parameters
yA scalar variable.
alphaShape parameter.
betaInverse scale parameter.
Exceptions
std::domain_errorif alpha is not greater than 0.
std::domain_errorif beta is not greater than 0.
std::domain_errorif y is not greater than or equal to 0.

Definition at line 41 of file gamma_cdf.hpp.