|
CppAD: A C++ Algorithmic Differentiation Package
20171217
|
| 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).
| play | player object corresponding to the old recroding. |
| old2new | mapping from old operator index to information about the new recording. |
| i_op | is the index in the old operation sequence for this operator. the must be one of the following: AddvvOp, DivvvOp, MulvvOp, PowvvOp, SubvvOp, ZmulvvOp. |
| rec | is the object that will record the new operations. |
Definition at line 40 of file record_vv.hpp.
Referenced by optimize_run().