CppAD: A C++ Algorithmic Differentiation Package
20130102
|
user_atomic< Base >::user_atomic | ( | const char * | afun, |
F | f, | ||
R | r, | ||
FJS | fjs, | ||
RJS | rjs, | ||
RHS | rhs | ||
) | [inline] |
Constructor called for each invocation of CPPAD_USER_ATOMIC.
Put this object in the list of all objects for this class and set the constant private data name_, f_, r_, and index_.
afun | is the user's name for the AD version of this atomic operation. |
f | user routine that does forward mode calculations for this operation. |
r | user routine that does reverse mode calculations for this operation. |
fjs | user routine that does forward Jacobian sparsity calculations. |
rjs | user routine that does reverse Jacobian sparsity calculations. |
rhs | user routine that does reverse Hessian sparsity calculations. |
List
. Definition at line 914 of file user_atomic.hpp.