Returns the Gumbel log probability density for the given location and scale.
Given containers of matching sizes, returns the log sum of densities.
- Template Parameters
-
| T_y | type of real parameter |
| T_loc | type of location parameter |
| T_scale | type of scale parameter |
- Parameters
-
| y | real parameter |
| mu | location parameter |
| beta | scale parameter |
- Returns
- log probability density or log sum of probability densities
- Exceptions
-
| std::domain_error | if y is nan, mu is infinite, or beta is nonpositive |
| std::invalid_argument | if container sizes mismatch |
Definition at line 40 of file gumbel_lpdf.hpp.