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

◆ cauchy_lcdf() [2/2]

template<typename T_y , typename T_loc , typename T_scale , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T_y, T_loc, T_scale > * = nullptr>
return_type_t< T_y, T_loc, T_scale > stan::math::cauchy_lcdf ( const T_y &  y,
const T_loc &  mu,
const T_scale &  sigma 
)

Returns the cauchy log cumulative distribution function for the given location, and scale.

If given containers of matching sizes returns the log sum of probabilities.

Template Parameters
T_ytype of real parameter
T_loctype of location parameter
T_scaletype of scale parameter
Parameters
yreal parameter
mulocation parameter
sigmascale parameter
Returns
log probability or log sum of probabilities
Exceptions
std::domain_errorif sigma is nonpositive or y, mu are nan
std::invalid_argumentif container sizes mismatch

Definition at line 36 of file cauchy_lcdf.hpp.