CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
#define CPPAD_ZDOUBLE_OTHER_COMPARE_OPERATOR (   op,
  op_switch 
)
Value:
inline bool operator op(const double& x, const zdouble& z) \
{ return z op_switch x; }

Define a comparison operator that is not a member because the double operand is on the left.

Convert it to the case where the double operand is on the right by by using op_switch instead of op.

Definition at line 201 of file zdouble.hpp.