![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
The log of an inverse gamma density for y with the specified shape and scale parameters.
Shape and scale parameters must be greater than 0. y must be greater than 0.
| y | A scalar variable. |
| alpha | Shape parameter. |
| beta | Scale parameter. |
| 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 0. |
| T_y | Type of scalar. |
| T_shape | Type of shape. |
| T_scale | Type of scale. |
Definition at line 39 of file inv_gamma_lpdf.hpp.