|
CppAD: A C++ Algorithmic Differentiation Package
20130918
|
| void CppAD::atomic_base< Base >::operator() | ( | const ADVector & | ax, |
| ADVector & | ay, | ||
| size_t | id = 0 |
||
| ) | [inline, inherited] |
Implement the user call to afun(ax, ay) and old_atomic call to afun(ax, ay, id).
| ADVector | A simple vector class with elements of type AD<Base>. |
| id | optional extra information vector that is just passed through by CppAD, and used by old_atomic derived class (not other derived classes). This is an extra parameter to the virtual callbacks for old_atomic; see the set_id member function. |
| ax | is the argument vector for this call, ax.size() determines the number of arguments. |
| ay | is the result vector for this call, ay.size() determines the number of results. |
Reimplemented in CppAD::checkpoint< Base >.
Definition at line 390 of file atomic_base.hpp.