1 #ifndef __STAN__AGRAD__ERROR_HANDLING_HPP__
2 #define __STAN__AGRAD__ERROR_HANDLING_HPP__
Independent (input) and dependent (output) variables for gradients.
double val() const
Return the value of this variable.
bool isfinite(const stan::agrad::var v)
Checks if the given number has finite value.
bool isnormal(const stan::agrad::var v)
Checks if the given number is normal.
int fpclassify(const stan::agrad::var v)
Categorizes the given stan::agrad::var value.
bool isnan(const stan::agrad::var v)
Checks if the given number is NaN.
bool isinf(const stan::agrad::var v)
Checks if the given number is infinite.
Reimplementing boost functionality.