The cumulative density function for a gamma distribution for y with the specified shape and inverse scale parameters.
- Template Parameters
-
T_y | type of scalar |
T_shape | type of shape |
T_inv_scale | type of inverse scale |
- Parameters
-
y | A scalar variable. |
alpha | Shape parameter. |
beta | Inverse scale parameter. |
- Exceptions
-
std::domain_error | if alpha is not greater than 0. |
std::domain_error | if beta is not greater than 0. |
std::domain_error | if y is not greater than or equal to 0. |
Definition at line 41 of file gamma_cdf.hpp.