CppAD: A C++ Algorithmic Differentiation Package 20110419
template<class Base>
void player< Base >::start_reverse ( OpCode op,
const size_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 next_reverse to play back one operator at a time.

Parameters:
opThe input value of op does not matter. Its output value is the last operator in the recording; i.e., EndOp.
op_argThe 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_indexThe input value of op_index does not matter. Its output value is the index of the last operator in the recording.
var_indexThe 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 620 of file player.hpp.

Referenced by optimize(), ReverseSweep(), RevHesSweep(), and RevJacSweep().