1 #ifndef STAN_MATH_PRIM_SCAL_FUN_PHI_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_PHI_HPP
4 #include <boost/math/special_functions/erf.hpp>
28 inline double Phi(
const double x) {
bool check_not_nan(const char *function, const char *name, const T_y &y)
Return true if y is not NaN.
fvar< T > erf(const fvar< T > &x)
const double INV_SQRT_2
The value of 1 over the square root of 2, .
fvar< T > Phi(const fvar< T > &x)
fvar< T > erfc(const fvar< T > &x)