CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
void CppAD::local::printOp ( std::ostream &  os,
const local::player< Base > *  play,
size_t  i_op,
size_t  i_var,
OpCode  op,
const addr_t *  ind 
)

Prints a single operator and its operands.

Template Parameters
BaseIs the base type for these AD< Base > operations.
Parameters
osis the output stream that the information is printed on.
playIs the entire recording for the tape that this operator is in.
i_opis the index for the operator corresponding to this operation.
i_varis the index for the variable corresponding to the result of this operation (if NumRes(op) > 0).
opThe operator code (OpCode) for this operation.
indis the vector of argument indices for this operation (must have NumArg(op) elements).

Definition at line 547 of file op_code.hpp.

Referenced by for_hes_sweep(), for_jac_sweep(), forward0sweep(), forward1sweep(), forward2sweep(), rev_hes_sweep(), rev_jac_sweep(), and reverse_sweep().