1 #ifndef STAN_MATH_FWD_SCAL_FUN_OWENS_T_HPP 2 #define STAN_MATH_FWD_SCAL_FUN_OWENS_T_HPP 32 + x2.
d_ *
exp(neg_x1_sq_div_2 * one_p_x2_sq)
33 / (one_p_x2_sq * 2.0 *
pi()));
47 T neg_x1_sq_div_2 = -
square(x1) * 0.5;
50 x2.
d_ *
exp(neg_x1_sq_div_2 * one_p_x2_sq)
51 / (one_p_x2_sq * 2.0 *
pi()));
68 *
exp(neg_x1_sq_div_2)
const double INV_SQRT_TWO_PI
fvar< T > erf(const fvar< T > &x)
fvar< T > square(const fvar< T > &x)
fvar< T > owens_t(const fvar< T > &x1, const fvar< T > &x2)
Return Owen's T function applied to the specified arguments.
const double INV_SQRT_2
The value of 1 over the square root of 2, .
fvar< T > exp(const fvar< T > &x)
double pi()
Return the value of pi.