CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inline |
Put one operation argument index in the recording.
arg0 | The 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().