Stan Math Library
5.0.0
Automatic Differentiation
|
return_type_t< T_y_cl, T_loc_cl, T_scale_cl > stan::math::double_exponential_lpdf | ( | const T_y_cl & | y, |
const T_loc_cl & | mu, | ||
const T_scale_cl & | sigma | ||
) |
Returns the double exponential log probability density function.
Given containers of matching sizes, returns the log sum of densities.
T_y_cl | type of real parameter. |
T_loc_cl | type of location parameter. |
T_scale_cl | type of scale parameter. |
y | real parameter |
mu | location parameter |
sigma | scale parameter |
std::domain_error | if y is nan, mu is infinite, or sigma is nonpositive |
std::invalid_argument | if container sizes mismatch |
Definition at line 36 of file double_exponential_lpdf.hpp.