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

◆ operator++() [2/2]

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

Postfix increment 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 increment.
Returns
Input variable.

Definition at line 38 of file operator_unary_increment.hpp.