1 # ifndef CPPAD_CORE_ABS_HPP
2 # define CPPAD_CORE_ABS_HPP
95 tape->
Rec_.PutArg(taddr_);
104 template <
class Base>
108 template <
class Base>
110 {
return x.
ADBase().abs_me(); }
size_t NumArg(OpCode op)
Number of arguments for a specified operator.
AD< Base > abs(const AD< Base > &x)
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.
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.