2 # ifndef CPPAD_CORE_DIV_HPP
3 # define CPPAD_CORE_DIV_HPP
29 if( tape == CPPAD_NULL )
35 bool var_left = left.
tape_id_ == tape_id;
36 bool var_right = right.
tape_id_ == tape_id;
43 "Dividing AD objects that are"
44 " variables on different tapes."
#define CPPAD_ASSERT_KNOWN(exp, msg)
Check that exp is true, if not print msg and terminate execution.
CPPAD_TAPE_ADDR_TYPE addr_t
#define CPPAD_FOLD_AD_VALUED_BINARY_OPERATOR(Op)
Declares automatic coercion for certain binary operations with AD result.
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.
bool IdenticalOne(const std::complex< double > &x)
local::recorder< Base > Rec_
This is where the information is recorded.
Class used to hold tape that records AD<Base> operations.
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool Parameter(const AD< Base > &x)
void make_variable(tape_id_t id, addr_t taddr)
tape_id_t id_
Unique identifier for this tape.
AD< Base > operator/(const AD< Base > &left, const AD< Base > &right)
CPPAD_TAPE_ID_TYPE tape_id_t