CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
struct_size_pair CppAD::local::optimize::record_vv ( const player< Base > *  play,
const CppAD::vector< struct struct_old2new > &  old2new,
size_t  i_op,
recorder< Base > *  rec 
)

Record an operation of the form (variable op variable).

Parameters
playplayer object corresponding to the old recroding.
old2newmapping from old operator index to information about the new recording.
i_opis the index in the old operation sequence for this operator. the must be one of the following: AddvvOp, DivvvOp, MulvvOp, PowvvOp, SubvvOp, ZmulvvOp.
recis the object that will record the new operations.
Returns
is the operator and variable indices in the new operation sequence.

Definition at line 40 of file record_vv.hpp.

Referenced by optimize_run().