Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Calculates the normal cumulative distribution function for the given variate, location, and scale.
\(\Phi(x) = \frac{1}{\sqrt{2 \pi}} \int_{-\inf}^x e^{-t^2/2} dt\).
T_y | type of y |
T_loc | type of mean parameter |
T_scale | type of standard deviation parameter |
y | A scalar variate. |
mu | The location of the normal distribution. |
sigma | The scale of the normal distribution |
Definition at line 38 of file normal_cdf.hpp.