CppAD: A C++ Algorithmic Differentiation Package
20171217
|
struct_size_pair CppAD::local::optimize::record_vp | ( | 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 parameter).
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: DivvpOp, PowvpOp, SubvpOp, ZmulvpOp. |
rec | is the object that will record the new operations. |
Definition at line 42 of file record_vp.hpp.
Referenced by optimize_run().