CppAD: A C++ Algorithmic Differentiation Package
20171217
|
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.
Base | Is the base type for these AD< Base > operations. |
os | is the output stream that the information is printed on. |
play | Is the entire recording for the tape that this operator is in. |
i_op | is the index for the operator corresponding to this operation. |
i_var | is the index for the variable corresponding to the result of this operation (if NumRes(op) > 0). |
op | The operator code (OpCode) for this operation. |
ind | is 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().