CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Base >
ADTape< Base > * AD< Base >::tape_this ( void  ) const [inline, private]

Get a pointer to tape that records AD<Base> operations for the current thread.

Template Parameters:
Baseis the base type corresponding to AD<Base> operations.
thread
The current thread must be given by
     thread = this->tape_id_ % CPPAD_MAX_NUM_THREADS
Returns:
is a pointer to the tape that is currently recording AD<Base> operations for the current thread. This value must not be CPPAD_NULL; i.e., there must be a tape currently recording AD<Base> operations for this thread.

Definition at line 305 of file tape_link.hpp.

Referenced by discrete< Base >::ad(), CppAD::CondExpOp(), CppAD::operator!=(), CppAD::operator==(), CppAD::operator>(), and CppAD::operator>=().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines