CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
void CppAD::local::recorder< Base >::PutArg ( addr_t  arg0)
inline

Put one operation argument index in the recording.

Parameters
arg0The operation argument index

The following syntax

     rec.PutArg(arg0)
     rec.PutArg(arg0, arg1)
     .
     .
     .
     rec.PutArg(arg0, arg1, ..., arg5)

places the values passed to PutArg at the current end of the operation argument indices for the recording. arg0 comes before arg1, etc. The proper number of operation argument indices corresponding to the operation code op is given by

     NumArg(op)

The number of the operation argument indices starts at zero after the default constructor and each call to Erase. It increases by the number of indices placed by each call to PutArg.

Definition at line 392 of file recorder.hpp.

Referenced by CppAD::local::optimize::optimize_run(), CppAD::local::optimize::record_csum(), CppAD::local::optimize::record_pv(), CppAD::local::optimize::record_vp(), and CppAD::local::optimize::record_vv().