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

◆ std_normal_cdf() [2/2]

template<typename T_y , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T_y > * = nullptr>
return_type_t< T_y > stan::math::std_normal_cdf ( const T_y &  y)
inline

Calculates the standard normal cumulative distribution function for the given variate.

\(\Phi(x) = \frac{1}{\sqrt{2 \pi}} \int_{-\inf}^x e^{-t^2/2} dt\).

Template Parameters
T_ytype of y
Parameters
yscalar variate
Returns
The standard normal cdf evaluated at the specified argument.

Definition at line 33 of file std_normal_cdf.hpp.