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

◆ double_exponential_cdf() [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::double_exponential_cdf ( const T_y &  y,
const T_loc &  mu,
const T_scale &  sigma 
)

Returns the double exponential cumulative density function.

Given containers of matching sizes, returns the product 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
probability or product of probabilities
Exceptions
std::domain_errorif y is nan, mu is infinite, or sigma is nonpositive

Definition at line 39 of file double_exponential_cdf.hpp.