CppAD: A C++ Algorithmic Differentiation Package
20130918
|
ADTape< Base > * CppAD::AD< Base >::tape_manage | ( | tape_manage_job | job | ) | [static, private] |
Create and delete tapes that record AD<Base> operations for current thread.
thread = thread_alloc::thread_num()
Base | is the base type corresponding to AD<Base> operations. |
job | This argument determines if we are creating a new tape, or deleting an old one.
|
job == tape_manage_new
: a pointer to the new tape is returned.job == tape_manage_delete
: the value CPPAD_NULL
is returned. Definition at line 211 of file tape_link.hpp.
Referenced by CppAD::AD< Base >::abort_recording(), CppAD::ADFun< Base >::Dependent(), and CppAD::parallel_ad().