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

Correct next_reverse return values when op == CSumOp.

Parameters:
opThe input value of op must be the return value from the previous call to next_reverse and must be CSumOp.
op_argThe input value of *op_arg must be the return value from the previous call to next_reverse. Its output value is the beginning of the vector of argument indices for this operation.
op_indexThe input value of op_index must be the return value from the previous call to next_reverse. Its output value is the index of the this operator in the recording.
var_indexThe input value of var_index must be the return value from the previous call to next_reverse. Its output value is the index of the primary (last) result corresponding to this operator.

Definition at line 556 of file player.hpp.

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines