|
CppAD: A C++ Algorithmic Differentiation Package
20171217
|
| struct_size_pair CppAD::local::optimize::record_pv | ( | const player< Base > * | play, |
| const CppAD::vector< struct struct_old2new > & | old2new, | ||
| size_t | i_op, | ||
| recorder< Base > * | rec | ||
| ) |
Record an operation of the form (parameter 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 operator must be one of the following: AddpvOp, DivpvOp, MulpvOp, PowpvOp, SubpvOp, ZmulpvOp. |
| rec | is the object that will record the new operations. |
Definition at line 41 of file record_pv.hpp.
Referenced by optimize_run().