CppAD: A C++ Algorithmic Differentiation Package
20130918
|
ADTape< Base > * CppAD::AD< Base >::tape_this | ( | void | ) | const [inline, private] |
Get a pointer to tape that records AD<Base> operations for the current thread.
Base | is the base type corresponding to AD<Base> operations. |
thread = this->tape_id_ % CPPAD_MAX_NUM_THREADS
CPPAD_NULL
; i.e., there must be a tape currently recording AD<Base> operations for this thread. Definition at line 303 of file tape_link.hpp.
Referenced by CppAD::discrete< Base >::ad(), CppAD::CondExpOp(), CppAD::operator!=(), CppAD::operator==(), CppAD::operator>(), and CppAD::operator>=().