|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
| void user_atomic< Base >::ad | ( | size_t | id, |
| const ADVector & | ax, | ||
| ADVector & | ay | ||
| ) | [inline] |
Implement the user call to afun(id, ax, ay).
| ADVector | A simple vector class with elements of type AD<Base>. |
| id | extra information vector that is just passed through by CppAD, and possibly used by user's routines. |
| 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. |
This routine is not const because it may modify the works space vectors x_ and y_.
Definition at line 951 of file user_atomic.hpp.