CppAD: A C++ Algorithmic Differentiation Package
20171217
|
#define CPPAD_FOLD_ASSIGNMENT_OPERATOR | ( | Op | ) |
Declares automatic coercion for certain AD assignment operations.
This macro assumes that the operator
left Op right
is defined for the case where left and right have type AD<Base>. It uses this case to define the cases where left has type AD<Base> and right has type VecAD_reference<Base>, Base, or double. The argument right is const and call by reference. This macro converts the operands to AD<Base> and then uses the definition of the same operation for that case.
Definition at line 83 of file define.hpp.