CppAD: A C++ Algorithmic Differentiation Package
20130102
|
void player< Base >::start_forward | ( | 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 next_forward to play back one operator at a time.
op | The input value of op does not matter. Its output value is the first operator in the recording; i.e., BeginOp. |
op_arg | 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 | 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 | 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 318 of file player.hpp.
Referenced by ForJacSweep(), forward0sweep(), forward_sweep(), and optimize().