CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Base >
template<class ADVector >
void user_atomic< Base >::ad ( size_t  id,
const ADVector &  ax,
ADVector &  ay 
) [inline]

Implement the user call to afun(id, ax, ay).

Template Parameters:
ADVectorA simple vector class with elements of type AD<Base>.
Parameters:
idextra information vector that is just passed through by CppAD, and possibly used by user's routines.
axis the argument vector for this call, ax.size() determines the number of arguments.
ayis 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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines