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

◆ gumbel_lpdf() [1/3]

template<bool propto, typename T_y_cl , typename T_loc_cl , typename T_scale_cl , require_all_prim_or_rev_kernel_expression_t< T_y_cl, T_loc_cl, T_scale_cl > * = nullptr, require_any_not_stan_scalar_t< T_y_cl, T_loc_cl, T_scale_cl > * = nullptr>
return_type_t< T_y_cl, T_loc_cl, T_scale_cl > stan::math::gumbel_lpdf ( const T_y_cl &  y,
const T_loc_cl &  mu,
const T_scale_cl &  beta 
)

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_cltype of real parameter
T_loc_cltype of location parameter
T_scale_cltype of scale parameter
Parameters
yreal parameter
mulocation parameter
betascale parameter
Returns
log probability density or log sum of probability densities
Exceptions
std::domain_errorif y is nan, mu is infinite, or beta is nonpositive
std::invalid_argumentif container sizes mismatch

Definition at line 36 of file gumbel_lpdf.hpp.