Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y, T_shape, T_scale > stan::math::weibull_lpdf | ( | const T_y & | y, |
const T_shape & | alpha, | ||
const T_scale & | sigma | ||
) |
Returns the Weibull log probability density for the given location and scale.
Given containers of matching sizes, returns the log sum of probability densities.
T_y | type of real parameter |
T_shape | type of shape parameter |
T_scale | type of scale parameter |
y | real parameter |
alpha | shape parameter |
sigma | scale parameter |
std::domain_error | if y is negative, alpha or sigma are nonpositive |
Definition at line 40 of file weibull_lpdf.hpp.