2 # ifndef CPPAD_CORE_SUB_EQ_HPP
3 # define CPPAD_CORE_SUB_EQ_HPP
29 if( tape == CPPAD_NULL )
35 bool var_left = tape_id_ == tape_id;
36 bool var_right = right.
tape_id_ == tape_id;
61 tape->
Rec_.PutArg(taddr_, p);
AD & operator-=(const AD &right)
CPPAD_TAPE_ADDR_TYPE addr_t
#define CPPAD_FOLD_ASSIGNMENT_OPERATOR(Op)
Declares automatic coercion for certain AD assignment operations.
size_t NumArg(OpCode op)
Number of arguments for a specified operator.
size_t NumRes(OpCode op)
Number of variables resulting from the specified operation.
bool IdenticalZero(const std::complex< double > &x)
static local::ADTape< Base > * tape_ptr(void)
Pointer for the tape for this AD<Base> class and the current thread.
#define CPPAD_ASSERT_UNKNOWN(exp)
Check that exp is true, if not terminate execution.
local::recorder< Base > Rec_
This is where the information is recorded.
Class used to hold tape that records AD<Base> operations.
tape_id_t id_
Unique identifier for this tape.
CPPAD_TAPE_ID_TYPE tape_id_t