1 # ifndef CPPAD_CORE_SIGN_HPP
2 # define CPPAD_CORE_SIGN_HPP
84 tape->
Rec_.PutArg(taddr_);
99 {
return x.
ADBase().sign_me(); }
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.
AD< Base > ADBase(void) const
Conversion from VecAD_reference to AD<Base>. puts the correspond vecad load instruction in the tape...
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool Variable(const AD< Base > &x)
#define CPPAD_ASSERT_UNKNOWN(exp)
Check that exp is true, if not terminate execution.
std::complex< double > sign(const std::complex< double > &x)
local::recorder< Base > Rec_
This is where the information is recorded.
Class used to hold a reference to an element of a VecAD object.
Class used to hold tape that records AD<Base> operations.
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool Parameter(const AD< Base > &x)
tape_id_t id_
Unique identifier for this tape.