CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
#define CPPAD_ZDOUBLE_NORMAL_ASSIGN_OPERATOR (   op)
Value:
zdouble& operator op (const zdouble& z) \
{ dbl_ op z.dbl_; \
return *this; \
} \
zdouble& operator op (const double& x) \
{ dbl_ op x; \
return *this; \
}

Define a compound assignment member operator that functions the same as corresponding double operator.

Definition at line 146 of file zdouble.hpp.