Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ weibull_lpdf() [1/3]

template<bool propto, typename T_y_cl , typename T_shape_cl , typename T_scale_cl , require_all_prim_or_rev_kernel_expression_t< T_y_cl, T_shape_cl, T_scale_cl > * = nullptr, require_any_not_stan_scalar_t< T_y_cl, T_shape_cl, T_scale_cl > * = nullptr>
return_type_t< T_y_cl, T_shape_cl, T_scale_cl > stan::math::weibull_lpdf ( const T_y_cl &  y,
const T_shape_cl &  alpha,
const T_scale_cl &  sigma 
)
inline

Returns the Weibull log probability density for the given location and scale.

Given containers of matching sizes, returns the log sum of probability densities.

Template Parameters
T_y_cltype of real parameter
T_shape_cltype of shape parameter
T_scale_cltype of scale parameter
Parameters
yreal parameter
alphashape parameter
sigmascale parameter
Returns
log probability density or log sum of probability densities
Exceptions
std::domain_errorif y is negative, alpha or sigma are nonpositive

Definition at line 35 of file weibull_lpdf.hpp.