CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inline |
Put next operator in the operation sequence.
This sets the op code for the next operation in this recording. This call must be followed by putting the corresponding
NumArg(op)
argument indices in the recording.
op | Is the op code corresponding to the the operation that is being recorded (which must not be LdpOp or LdvOp). |
NumRes(op)With each call to PutOp or PutLoadOp, the return index increases by the number of variables corresponding to the call. This index starts at zero after the default constructor and after each call to Erase.
Definition at line 185 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().