1 #ifndef STAN__AGRAD__REV__FUNCTIONS__AS_BOOL_HPP
2 #define STAN__AGRAD__REV__FUNCTIONS__AS_BOOL_HPP
const double val_
The value of this variable.
vari * vi_
Pointer to the implementation of this variable.
int as_bool(const agrad::var &v)
Return 1 if the argument is unequal to zero and 0 otherwise.
Independent (input) and dependent (output) variables for gradients.