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

◆ exponential_cdf() [2/2]

template<typename T_y , typename T_inv_scale , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T_y, T_inv_scale > * = nullptr>
return_type_t< T_y, T_inv_scale > stan::math::exponential_cdf ( const T_y &  y,
const T_inv_scale &  beta 
)

Calculates the exponential cumulative distribution function for the given y and beta.

Inverse scale parameter must be greater than 0. y must be greater than or equal to 0.

Template Parameters
T_ytype of scalar
T_inv_scaletype of inverse scale
Parameters
yA scalar variable.
betaInverse scale parameter.

Definition at line 35 of file exponential_cdf.hpp.