Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y_cl, T_scale_cl > stan::math::rayleigh_lpdf | ( | const T_y_cl & | y, |
const T_scale_cl & | sigma | ||
) |
The log of an Rayleigh density for y with the specified scale parameter.
y and scale parameter must be greater than 0.
T_y_cl | type of scalar |
T_scale_cl | type of inverse scale |
y | A scalar variable. |
sigma | Inverse scale parameter. |
std::domain_error | if sigma is not greater than 0. |
std::domain_error | if y is not greater than or equal to 0. |
Definition at line 31 of file rayleigh_lpdf.hpp.