2 # ifndef CPPAD_LOCAL_OPTIMIZE_CSUM_VARIABLE_HPP
3 # define CPPAD_LOCAL_OPTIMIZE_CSUM_VARIABLE_HPP
23 namespace CppAD {
namespace local {
namespace optimize {
Information about one old variable that is part of a new CSumOp operation.
CPPAD_TAPE_ADDR_TYPE addr_t
Defines the OpCode enum type and functions related to it.
OpCode op
Operator for which this old variable is the result, NumRes(op) > 0.
CppAD forward declarations; i.e., before definition.
OpCode
Type used to distinguish different AD< Base > atomic operations.
const addr_t * arg
Pointer to first argument (child) for this old operator. Set by the reverse sweep at beginning of opt...
bool add
Was this old variable added to the summation (if not it was subtracted)