CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
local::ADTape< Base > * CppAD::AD< Base >::tape_this ( void  ) const
inlineprivate

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 335 of file tape_link.hpp.

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