CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
tape_id_t * CppAD::AD< Base >::tape_id_ptr ( size_t  thread)

Pointer to the tape identifier for this AD<Base> class and the specific thread.

Template Parameters
Baseis the base type for this AD<Base> class.
threadis the thread number; i.e., If this condition is not satisfied, and NDEBUG is not defined, a CPPAD_ASSERT_UNKNOWN is generated.
is a pointer to the tape identifier for this thread and AD<Base> class.
This routine should only be called if there was a tape created for the specified thread (it may no longer be recording).

Definition at line 81 of file tape_link.hpp.

Referenced by CppAD::Parameter(), and CppAD::Variable().