CppAD: A C++ Algorithmic Differentiation Package  20130918
template<class Base>
void CppAD::player< Base >::reverse_start ( OpCode op,
const addr_t *&  op_arg,
size_t &  op_index,
size_t &  var_index 
) [inline]

Start a play back of the recording during a reverse sweep.

Use repeated calls to reverse_next to play back one operator at a time.

Parameters:
op[out] The input value of op does not matter. Its output value is the last operator in the recording; i.e., EndOp.
op_arg[out] The input value of op_arg does not matter. Its output value is the beginning of the vector of argument indices for the last operation; (there are no arguments for the last operation so op_arg is invalid).
op_index[out[ The input value of op_index does not matter. Its output value is the index of the last operator in the recording.
var_index[out] The input value of var_index does not matter. Its output value is the index of the primary (last) result corresponding to the the last operator (which must be a EndOp). (there are no results for the last operation so var_index is invalid).

Definition at line 503 of file player.hpp.

Referenced by CppAD::optimize::optimize_run(), CppAD::ReverseSweep(), CppAD::RevHesSweep(), and CppAD::RevJacSweep().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines