1 #ifndef STAN_MATH_REV_CORE_OPERATOR_UNARY_DECREMENT_HPP 2 #define STAN_MATH_REV_CORE_OPERATOR_UNARY_DECREMENT_HPP 18 avi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
The variable implementation base class.
Independent (input) and dependent (output) variables for gradients.
var & operator--(var &a)
Prefix decrement operator for variables (C++).
const double val_
The value of this variable.
decrement_vari(vari *avi)
vari * vi_
Pointer to the implementation of this variable.
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
double adj_
The adjoint of this variable, which is the partial derivative of this variable with respect to the ro...
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.