CppAD: A C++ Algorithmic Differentiation Package  20130918
template<class Base>
void CppAD::player< Base >::forward_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 forward sweep.

Use repeated calls to forward_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 first operator in the recording; i.e., BeginOp.
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 first operation; i.e., 0
op_index[out] The input value of op_index does not matter. Its output value is the index of the next first operator in the recording; i.e., 0.
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 first operator (which must be a BeginOp); i.e., 0.

Definition at line 301 of file player.hpp.

Referenced by CppAD::ForJacSweep(), CppAD::forward0sweep(), CppAD::forward1sweep(), and CppAD::optimize::optimize_run().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines