Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ operator--() [2/2]

var stan::math::operator-- ( var a,
int   
)
inline

Postfix decrement operator for variables (C++).

Following C++, the expression (a–) is defined to behave like the sequence of operations

var temp = a; a = a - 1.0; return temp;

Parameters
aVariable to decrement.
Returns
Input variable.

Definition at line 42 of file operator_unary_decrement.hpp.