1 #ifndef STAN__AGRAD__REV__FUNCTIONS__PHI_HPP
2 #define STAN__AGRAD__REV__FUNCTIONS__PHI_HPP
12 class Phi_vari :
public op_v_vari {
15 op_v_vari(stan::math::
Phi(avi->val_), avi) {
18 static const double NEG_HALF = -0.5;
67 return var(
new Phi_vari(a.
vi_));
const double INV_SQRT_TWO_PI
fvar< T > Phi(const fvar< T > &x)
vari * vi_
Pointer to the implementation of this variable.
Independent (input) and dependent (output) variables for gradients.
fvar< T > exp(const fvar< T > &x)