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

◆ logistic_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::logistic_lpdf ( const T_y_cl &  y,
const T_loc_cl &  mu,
const T_scale_cl &  sigma 
)

The log of a logistic density for y with the specified location and scale parameters.

Shape and scale parameters must be greater than 0. y must be greater than 0.

Parameters
yA scalar variable.
muShape parameter.
sigmaScale parameter.
Exceptions
std::domain_errorif mu is not greater than 0.
std::domain_errorif sigma is not greater than 0.
std::domain_errorif y is not greater than 0.
Template Parameters
T_y_clType of scalar.
T_loc_clType of shape.
T_scale_clType of scale.

Definition at line 40 of file logistic_lpdf.hpp.