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)
inlinestaticprivate

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.
Parameters
threadis the thread number; i.e., If this condition is not satisfied, and NDEBUG is not defined, a CPPAD_ASSERT_UNKNOWN is generated.
Returns
is a pointer to the tape identifier for this thread and AD<Base> class.
Restrictions
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().