1 #ifndef STAN_AGRAD_REV_FUNCTIONS_IS_NAN_HPP
2 #define STAN_AGRAD_REV_FUNCTIONS_IS_NAN_HPP
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.
double val() const
Return the value of this variable.
int is_nan(const double x)
Returns 1 if the input is NaN and 0 otherwise.
Independent (input) and dependent (output) variables for gradients.