CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
#define CPPAD_VEC_AD_COMPUTED_ASSIGNMENT (   op,
  name 
)
Value:
VecAD_reference& operator op (const VecAD_reference<Base> &right) \
false, \
"Cannot use a ADVec element on left side of" name \
); \
return *this; \
} \
VecAD_reference& operator op (const AD<Base> &right) \
false, \
"Cannot use a ADVec element on left side of" name \
); \
return *this; \
} \
VecAD_reference& operator op (const Base &right) \
false, \
"Cannot use a ADVec element on left side of" name \
); \
return *this; \
}
#define CPPAD_ASSERT_KNOWN(exp, msg)
Check that exp is true, if not print msg and terminate execution.

Prints an error message if the correspinding compound assignment is used.

THis macro is used to print an error message if any of the compound assignments are used with the VecAD_reference class. The argument op is one of the following: += , -= , *= , /=. The argument name, is a string literal with the name of the compound assignment op.

Definition at line 321 of file vec_ad.hpp.